summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-02-27 13:34:33 -0500
committerTavian Barnes <tavianator@tavianator.com>2016-02-27 13:34:33 -0500
commit5e94b28d4a62cd590f173e0358cb3272073e4585 (patch)
treeefcf1617e80437afbf8d3685a5c28fa1290a2d92 /tests.sh
parent388b66eb003d3026945992bd48f9180aff8b4f01 (diff)
downloadbfs-5e94b28d4a62cd590f173e0358cb3272073e4585.tar.xz
Fix -daystart to not round 0 upwards.
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index baaac3e..77ba586 100755
--- a/tests.sh
+++ b/tests.sh
@@ -255,7 +255,15 @@ function test_0046() {
find_diff -L "$basic" -group "$(id -g)"
}
-for i in {1..46}; do
+function test_0047() {
+ find_diff -L "$basic" -daystart -mtime 0
+}
+
+function test_0048() {
+ find_diff -L "$basic" -daystart -daystart -mtime 0
+}
+
+for i in {1..48}; do
test="test_$(printf '%04d' $i)"
"$test" "$dir"
status=$?