commit: d08803014350168a8299c6b39e4547b00f603d2f
parent 8547f7d7e0939f3aa5ece379ebf92947c2a62b58
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 16 Sep 2023 06:03:18 +0200
test-cmd/sleep.t: Don't test wallclock, accept musl errors
Diffstat:
1 file changed, 6 insertions(+), 13 deletions(-)
diff --git a/test-cmd/sleep.t b/test-cmd/sleep.t
@@ -9,22 +9,15 @@
[1]
$ ./sleep -f
- sleep: Not a number: -f
+ (sleep: Not a number: -f|sleep: sscanf: Invalid argument) (re)
[1]
- $ ./time ./sleep 0
+ $ ./sleep 0
sleep: Got a duration of 0
- real 0.0* (re)
- user 0.0* (re)
- sys 0.0* (re)
[1]
- $ ./time ./sleep 1
- real 1.0* (re)
- user 0.0* (re)
- sys 0.0* (re)
+ $ ./sleep 1
- $ ./time ./sleep .1
- real 0.10* (re)
- user 0.0* (re)
- sys 0.0* (re)
+ $ ./sleep .1
+
+ $ ./sleep 1.