From b74261ac825ec2b9c02d73e36f7b44b64c9d184c Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 1 Nov 2018 21:46:50 -0400 Subject: tests: Make the weird names tests POSIX-compliant --- tests.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 3f22b22..88c3206 100755 --- a/tests.sh +++ b/tests.sh @@ -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() { -- cgit v1.2.3