summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/gen_tests.in4
-rwxr-xr-xtests/options-syntax.test4
-rw-r--r--tests/strace--syscall-limit-path.c2
-rw-r--r--tests/strace--syscall-limit-status.c2
-rw-r--r--tests/strace--syscall-limit.c2
-rwxr-xr-xtests/strace--syscall-limit.test2
6 files changed, 8 insertions, 8 deletions
diff --git a/tests/gen_tests.in b/tests/gen_tests.in
index a1a0b7320..86189558c 100644
--- a/tests/gen_tests.in
+++ b/tests/gen_tests.in
@@ -1037,8 +1037,8 @@ strace--strings-in-hex-none --trace=chdir --strings-in-hex=none --columns=12
strace--syscall-limit-c +strace--syscall-limit.test -c -S syscall -U calls
strace--syscall-limit-path +strace--syscall-limit.test --trace-path=invalid.dir
strace--syscall-limit-status +strace--syscall-limit.test --status=failed
-strace--syscall-limit-status-c +strace--syscall-limit.test --status=failed -l 4 -c -S syscall -U calls
-strace--syscall-limit-status-summary +strace--syscall-limit.test --status=failed -l 4 --summary -S syscall -U calls
+strace--syscall-limit-status-c +strace--syscall-limit.test --status=failed --syscall-limit=4 -c -S syscall -U calls
+strace--syscall-limit-status-summary +strace--syscall-limit.test --status=failed --syscall-limit=4 --summary -S syscall -U calls
strace--syscall-limit-summary +strace--syscall-limit.test -C -S syscall -U calls
strace--syscall-times +strace-T_upper.test --syscall-times
strace--syscall-times-ms +strace-T_upper.test --syscall-times=ms
diff --git a/tests/options-syntax.test b/tests/options-syntax.test
index 8667bb847..0f6f49b74 100755
--- a/tests/options-syntax.test
+++ b/tests/options-syntax.test
@@ -186,9 +186,9 @@ check_h "must have PROG [ARGS] or -p PID" --strings-in-hex=non-ascii
check_h "invalid --strings-in-hex argument: 'al'" --strings-in-hex=al
check_h "invalid --strings-in-hex argument: 'alll'" --strings-in-hex=alll
check_h "invalid --strings-in-hex argument: 'ascii'" --strings-in-hex=ascii
-check_h "invalid -l argument: '-5'" -l -5
+check_h "invalid --syscall-limit argument: '-5'" --syscall-limit -5
check_h "invalid --syscall-limit argument: '0'" --syscall-limit=0
-check_h "must have PROG [ARGS] or -p PID" -l2
+check_h "must have PROG [ARGS] or -p PID" --syscall-limit=2
check_h "must have PROG [ARGS] or -p PID" --syscall-limit 5
check_h "must have PROG [ARGS] or -p PID" --quiet=all
check_h "must have PROG [ARGS] or -p PID" --quiet=none
diff --git a/tests/strace--syscall-limit-path.c b/tests/strace--syscall-limit-path.c
index 8c4c3a7b9..ed0c88330 100644
--- a/tests/strace--syscall-limit-path.c
+++ b/tests/strace--syscall-limit-path.c
@@ -1,5 +1,5 @@
/*
- * Test -l/--syscall-limit with --trace-path option.
+ * Test --syscall-limit option in combination with --trace-path option.
*
* Copyright (c) 2023 The strace developers.
* All rights reserved.
diff --git a/tests/strace--syscall-limit-status.c b/tests/strace--syscall-limit-status.c
index 9cd77a3be..f63fd34b1 100644
--- a/tests/strace--syscall-limit-status.c
+++ b/tests/strace--syscall-limit-status.c
@@ -1,5 +1,5 @@
/*
- * Test -l/--syscall-limit with --status option.
+ * Test --syscall-limit option in combination with --status option.
*
* Copyright (c) 2023 The strace developers.
* All rights reserved.
diff --git a/tests/strace--syscall-limit.c b/tests/strace--syscall-limit.c
index 3d8739224..374e3cc71 100644
--- a/tests/strace--syscall-limit.c
+++ b/tests/strace--syscall-limit.c
@@ -1,5 +1,5 @@
/*
- * Test -l/--syscall-limit options.
+ * Test --syscall-limit option.
*
* Copyright (c) 2023 The strace developers.
* All rights reserved.
diff --git a/tests/strace--syscall-limit.test b/tests/strace--syscall-limit.test
index bcc4a9545..00bf2c83d 100755
--- a/tests/strace--syscall-limit.test
+++ b/tests/strace--syscall-limit.test
@@ -1,6 +1,6 @@
#!/bin/sh -e
#
-# Check -l/--syscall-limit option.
+# Check --syscall-limit option.
#
# Copyright (c) 2016-2023 The strace developers.
# All rights reserved.