CedarLUG 9 سال پیش
والد
کامیت
62d5b08335
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      tests/tests_jc2server.sh

+ 4 - 4
tests/tests_jc2server.sh

@@ -360,10 +360,10 @@ requiredstatus="OFFLINE"
 fn_setstatus
 fn_setstatus
 PATH=${PATH}:./tests/lgsm/functions strace -f tests/lgsm/functions/command_start.sh > /tmp/output 2>&1
 PATH=${PATH}:./tests/lgsm/functions strace -f tests/lgsm/functions/command_start.sh > /tmp/output 2>&1
 (command_start.sh)
 (command_start.sh)
-echo curl --upload-file ./tests/log/script/*.log https://transfer.sh/slog
-curl --upload-file ./tests/log/script/*.log https://transfer.sh/slog
-echo curl --upload-file ./tests/log/console/*.log https://transfer.sh/clog
-curl --upload-file ./tests/log/console/*.log https://transfer.sh/clog
+for x in ./tests/log/*/*.log /tmp/output
+do
+curl --upload-file $x https://transfer.sh/lgsm
+done
 fn_test_result_pass
 fn_test_result_pass
 
 
 echo ""
 echo ""