diff options
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -304,7 +304,9 @@ bfs_tests=( test_perm_symbolic_missing_action test_perm_leading_plus_symbolic test_perm_octal_plus + test_exec_plus_substring test_execdir_plus + test_execdir_plus_substring test_hidden test_nohidden test_path_flag_expr @@ -658,6 +660,10 @@ function test_exec_substring() { bfs_diff basic -exec echo '-{}-' ';' } +function test_exec_plus_substring() { + bfs_diff basic -exec "$TESTS/sort-args.sh" a '-{}-' z + +} + function test_execdir() { bfs_diff basic -execdir echo '{}' ';' } @@ -670,6 +676,10 @@ function test_execdir_substring() { bfs_diff basic -execdir echo '-{}-' ';' } +function test_execdir_plus_substring() { + bfs_diff basic -execdir "$TESTS/sort-args.sh" a '-{}-' z + +} + function test_execdir_pwd() { local TMP_REAL="$(cd "$TMP" && pwd)" local OFFSET="$((${#TMP_REAL} + 2))" |