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
 PATH=${PATH}:./tests/lgsm/functions strace -f tests/lgsm/functions/command_start.sh > /tmp/output 2>&1
 (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
 
 echo ""