CedarLUG 9 лет назад
Родитель
Сommit
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 ""