From 62d5b0833549f0088f3773467b0089ef04bc9ba3 Mon Sep 17 00:00:00 2001 From: CedarLUG Date: Sat, 14 Jan 2017 22:54:15 -0600 Subject: [PATCH] curl it --- tests/tests_jc2server.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/tests_jc2server.sh b/tests/tests_jc2server.sh index 93194587c..35f15bfc9 100644 --- a/tests/tests_jc2server.sh +++ b/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 ""