diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-11-08 11:53:19 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-11-08 11:53:19 -0500 |
commit | 8917a48c31540dd7a99f95dd317d6cf1ac2f6803 (patch) | |
tree | 673d875cc007d504c6170a9cc19e06e88e5690d1 /tests/tests.sh | |
parent | 2d5edb37b924715b4fbee4d917ac334c773fca61 (diff) | |
download | bfs-8917a48c31540dd7a99f95dd317d6cf1ac2f6803.tar.xz |
tests/xtouch: Add some missing POSIX touch features
Diffstat (limited to 'tests/tests.sh')
-rwxr-xr-x | tests/tests.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/tests.sh b/tests/tests.sh index 6a32f62..8d13aca 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -362,12 +362,12 @@ make_loops "$TMP/loops" # Creates a file+directory structure with varying timestamps function make_times() { - "$XTOUCH" -p -t 199112140000 "$1/a" - "$XTOUCH" -p -t 199112140001 "$1/b" - "$XTOUCH" -p -t 199112140002 "$1/c" + "$XTOUCH" -p -t "1991-12-14 00:00" "$1/a" + "$XTOUCH" -p -t "1991-12-14 00:01" "$1/b" + "$XTOUCH" -p -t "1991-12-14 00:02" "$1/c" ln -s a "$1/l" - "$XTOUCH" -p -h -t 199112140003 "$1/l" - "$XTOUCH" -p -t 199112140004 "$1" + "$XTOUCH" -p -h -t "1991-12-14 00:03" "$1/l" + "$XTOUCH" -p -t "1991-12-14 00:04" "$1" } make_times "$TMP/times" |