diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-04-15 19:44:09 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-04-15 19:44:09 -0400 |
commit | 78d52a7c0e1eef84a61bdb847d6aa83b6dcdccb2 (patch) | |
tree | dd3060c6eed2c593160f87612b52a5ce19dd9a9c /tests.sh | |
parent | 5212c26ae12f01ec5fd66f8a3fcb41fb03c43e98 (diff) | |
download | bfs-78d52a7c0e1eef84a61bdb847d6aa83b6dcdccb2.tar.xz |
Implement -exec/-execdir ... +
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -142,6 +142,7 @@ posix_tests=( test_size_plus test_size_bytes test_exec + test_exec_plus test_flag_comma test_perm_222 test_perm_222_minus @@ -303,6 +304,7 @@ bfs_tests=( test_perm_symbolic_missing_action test_perm_leading_plus_symbolic test_perm_octal_plus + test_execdir_plus test_hidden test_nohidden test_path_flag_expr @@ -648,6 +650,10 @@ function test_exec() { bfs_diff basic -exec echo '{}' ';' } +function test_exec_plus() { + bfs_diff basic -exec "$TESTS/sort-args.sh" '{}' + +} + function test_exec_substring() { bfs_diff basic -exec echo '-{}-' ';' } @@ -656,6 +662,10 @@ function test_execdir() { bfs_diff basic -execdir echo '{}' ';' } +function test_execdir_plus() { + bfs_diff basic -execdir "$TESTS/sort-args.sh" '{}' + +} + function test_execdir_substring() { bfs_diff basic -execdir echo '-{}-' ';' } |