From e42e0f1012229e4473919c738ab7e4bcaff8033a Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 16 Apr 2017 12:14:02 -0400 Subject: Implement -X --- tests.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index db223ab..61aab2a 100755 --- a/tests.sh +++ b/tests.sh @@ -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 } -- cgit v1.2.3