commit: a8e5ae5109b2b4805d7d965f480318b2afe85206
parent 3ec0fa107be7fcfc48e7bdfbd93df8db0cfa1b1d
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.