diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-03-07 16:01:46 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-03-07 16:01:46 -0500 |
commit | 416ca3b557055efa5746a4d40d927391c59a9292 (patch) | |
tree | c4f2d8358c7532de5e68e0f5ddfa99205e89efba | |
parent | a1e288cb6a2482b7acc1edb92eea9d676da0729f (diff) | |
download | bfs-416ca3b557055efa5746a4d40d927391c59a9292.tar.xz |
tests: Change the timezone for -daystart tests
Otherwise, if the test files are created just before midnight, and the
test runs just after midnight, -daystart will consider them one day old.
Fixes #132
-rw-r--r-- | tests/gnu/daystart.sh | 2 | ||||
-rw-r--r-- | tests/gnu/daystart_twice.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/gnu/daystart.sh b/tests/gnu/daystart.sh index 9799bca..9c3be1a 100644 --- a/tests/gnu/daystart.sh +++ b/tests/gnu/daystart.sh @@ -1 +1 @@ -bfs_diff basic -daystart -mtime 0 +TZ=WAT-1 bfs_diff basic -daystart -mtime 0 diff --git a/tests/gnu/daystart_twice.sh b/tests/gnu/daystart_twice.sh index 21b2c0f..edbf18d 100644 --- a/tests/gnu/daystart_twice.sh +++ b/tests/gnu/daystart_twice.sh @@ -1 +1 @@ -bfs_diff basic -daystart -daystart -mtime 0 +TZ=WAT-1 bfs_diff basic -daystart -daystart -mtime 0 |