please ignore this email
On Fri, Oct 30, 2020 at 03:25:18PM +0800, Li Ping wrote:
[why] upload_files -t result the interface /result does not exist cause curl error
tests/analyze-suspend | 10 +++++----- tests/suspend-stress | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/tests/analyze-suspend b/tests/analyze-suspend index 59bb75c8..d9a95241 100755 --- a/tests/analyze-suspend +++ b/tests/analyze-suspend @@ -113,8 +113,8 @@ do
#upload log files in case system crashes dmesg > $f_dmesg
- upload_files -t result $f_log
- upload_files -t result $f_dmesg
upload_files -t results $f_log
upload_files -t results $f_dmesg
#make sure the test either PASS or FAIL, no INCOMPLETE echo "test started" > $f_lkp_output
@@ -125,7 +125,7 @@ do if [ ! -z $f_result ] then echo $(date +%T): uploading test result $f_result ... >> $f_log
upload_files -t result $f_result
rm -rf $f_result echo $(date +%T): done ... >> $f_log fiupload_files -t results $f_result
@@ -144,5 +144,5 @@ done echo analyze_suspend test done
rm $f_lkp_output -upload_files -t result $f_log -upload_files -t result ./suspend-* +upload_files -t results $f_log +upload_files -t results ./suspend-* diff --git a/tests/suspend-stress b/tests/suspend-stress index 020858bd..bffa6db0 100755 --- a/tests/suspend-stress +++ b/tests/suspend-stress @@ -118,8 +118,8 @@ do fi
dmesg > $dmesg_file
- upload_files -t result $log_file
- upload_files -t result $dmesg_file
- upload_files -t results $log_file
- upload_files -t results $dmesg_file #make sure test either PASS or FAIL, no INCOMPLETE echo "test started" > $f_lkp_output upload_files $f_lkp_output
-- 2.23.0