diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-04-16 12:14:02 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-04-16 12:14:02 -0400 |
commit | e42e0f1012229e4473919c738ab7e4bcaff8033a (patch) | |
tree | d4e7d16a4e2ece4b4de1aac1d8075369d8d645a0 /tests.sh | |
parent | 455b724279c1cb4aefc0d2f81b65641990dd7689 (diff) | |
download | bfs-e42e0f1012229e4473919c738ab7e4bcaff8033a.tar.xz |
Implement -X
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -88,6 +88,8 @@ function make_weirdnames() { touchp "$1/,/f" touchp "$1/)/g" touchp "$1/.../h" + touchp "$1/\\/i" + touchp "$1/ /j" } make_weirdnames "$TMP/weirdnames" @@ -162,6 +164,7 @@ posix_tests=( bsd_tests=( test_P test_P_slash + test_X test_follow test_samefile test_name_slash @@ -548,6 +551,10 @@ function test_L() { bfs_diff -L links 2>/dev/null } +function test_X() { + bfs_diff -X weirdnames 2>/dev/null +} + function test_follow() { bfs_diff links -follow 2>/dev/null } |