diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-02-10 22:15:41 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-02-10 22:15:41 -0500 |
commit | aeff24ee344e5b9c4f2f9040a02320952e70ccd7 (patch) | |
tree | 4336db598aab697f683fd62b0696d37a3e9be6e7 /tests.sh | |
parent | fc3b5fab4cb4f9a20671e17e31126f360b0e941a (diff) | |
download | bfs-aeff24ee344e5b9c4f2f9040a02320952e70ccd7.tar.xz |
Implement -samefile.
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -189,7 +189,12 @@ function test_0027() { find_diff -L "$1" -depth 2>/dev/null } -for i in {1..27}; do +function test_0028() { + links_structure "$1" + find_diff "$1" -samefile "$1/a" +} + +for i in {1..28}; do dir="$(mktemp -d "${TMPDIR:-/tmp}"/bfs.XXXXXXXXXX)" test="test_$(printf '%04d' $i)" "$test" "$dir" |