summaryrefslogtreecommitdiff
path: root/usr.bin/limits
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2025-02-14 16:26:19 +0000
committerMark Johnston <markj@FreeBSD.org>2025-03-07 22:51:48 +0000
commit0599d2a1c5996cef4d79a3fbe753d863cdd2359b (patch)
treeb13291fafec03c7d5235ed84f09aa682424e35df /usr.bin/limits
parent14d4c1845d1b03e29aa29eaccba1e9677aa13eb1 (diff)
Diffstat (limited to 'usr.bin/limits')
-rwxr-xr-xusr.bin/limits/tests/limits_test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/limits/tests/limits_test.sh b/usr.bin/limits/tests/limits_test.sh
index 701886066ff1..fd7b50b0945a 100755
--- a/usr.bin/limits/tests/limits_test.sh
+++ b/usr.bin/limits/tests/limits_test.sh
@@ -57,7 +57,7 @@ cputime_hard_flag_body()
atf_check -o match:'cputime[[:space:]]+3 secs' \
limits -H -t 3 limits -S
atf_check -e save:time_output -s signal:sigkill \
- limits -H -t 3 $TIME -p sh -c 'while : ; do : ; done'
+ $TIME -p limits -H -t 3 sh -c 'while : ; do : ; done'
validate_time_output time_output
}
cputime_hard_flag_cleanup()
@@ -76,7 +76,7 @@ cputime_soft_flag_body()
atf_check -o match:'cputime-cur[[:space:]]+3 secs' \
limits -S -t 3 limits -S
atf_check -e save:time_output -s signal:$SIGXCPU \
- limits -S -t 3 $TIME -p sh -c 'while : ; do : ; done'
+ $TIME -p limits -S -t 3 sh -c 'while : ; do : ; done'
validate_time_output time_output
}
cputime_soft_flag_cleanup()