diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-02-04 16:33:53 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-02-04 16:33:53 -0500 |
commit | d696346689e161ee8a5623182ed65ab119adb203 (patch) | |
tree | 3c55935d75f847a21c82c1ca7e400971f4f12fb2 /tests.sh | |
parent | 0a3754f8b66fc50dafeb61711679fc85c1e38038 (diff) | |
download | bfs-d696346689e161ee8a5623182ed65ab119adb203.tar.xz |
Implement -[ac]?newer.
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -124,7 +124,17 @@ function test_0017() { find_diff "$1" -uid -10000 } -for i in {1..17}; do +function test_0018() { + basic_structure "$1" + find_diff "$1" -newer "$1/e/f" +} + +function test_0019() { + basic_structure "$1" + find_diff "$1" -cnewer "$1/e/f" +} + +for i in {1..19}; do dir="$(mktemp -d "${TMPDIR:-/tmp}"/bfs.XXXXXXXXXX)" test="test_$(printf '%04d' $i)" "$test" "$dir" |