diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2018-11-01 21:46:50 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2018-11-01 21:46:50 -0400 |
commit | b74261ac825ec2b9c02d73e36f7b44b64c9d184c (patch) | |
tree | f4bce3e0742017f52bd78604abc0592904b545af /tests.sh | |
parent | 1358b69c22ac9f675f6a4d0c0d796e8dae7823fd (diff) | |
download | bfs-b74261ac825ec2b9c02d73e36f7b44b64c9d184c.tar.xz |
tests: Make the weird names tests POSIX-compliant
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -169,13 +169,15 @@ TESTS="$(_realpath ./tests)" posix_tests=( # General parsing + test_basic + test_parens test_bang test_implicit_and test_a test_o - test_basic + test_weird_names # Flags @@ -188,6 +190,7 @@ posix_tests=( test_L_broken test_L_notdir + test_flag_weird_names test_flag_comma # Primaries @@ -391,9 +394,6 @@ gnu_tests=( test_comma test_precedence - test_weird_names - test_flag_weird_names - test_follow_comma # Flags @@ -1154,12 +1154,12 @@ function test_execdir_slashes() { function test_weird_names() { cd weirdnames - bfs_diff '-' '(-' '!-' ',' ')' './(' './!' \( \! -print , -print \) + bfs_diff '-' '(-' '!-' ',' ')' './(' './!' \( \! -print -o -print \) } function test_flag_weird_names() { cd weirdnames - bfs_diff -L '-' '(-' '!-' ',' ')' './(' './!' \( \! -print , -print \) + bfs_diff -L '-' '(-' '!-' ',' ')' './(' './!' \( \! -print -o -print \) } function test_flag_comma() { |