From 088493b7e742129f9b51f0123376c4254ccce195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Sun, 22 Mar 2026 17:04:01 +0400 Subject: [PATCH] 0 --- operator_multiuser_test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/operator_multiuser_test.sh b/operator_multiuser_test.sh index 53e227b..20b267d 100755 --- a/operator_multiuser_test.sh +++ b/operator_multiuser_test.sh @@ -199,7 +199,7 @@ run_user_test() { code=$(curl -s -o /dev/null -w "%{http_code}" -X POST \ "$API_BASE/namespaces/${ns}/services/${svc}/upload" \ -H "Authorization: Bearer $token" \ - -F "file=@${zipf}") + -F "code=@${zipf}") rm -f "$zipf" if [[ "$code" == "200" ]]; then echo "U${n}-3 PASS upload($code)" @@ -207,6 +207,8 @@ run_user_test() { else echo "U${n}-3 FAIL upload=$code" (( fail++ )) + printf '%d %d\n' "$pass" "$fail" > "$RESULTS_DIR/user_${n}.result" + return fi # -----------------------------------------------------------------------