summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index ca27ff8..0c83beb 100755
--- a/tests.sh
+++ b/tests.sh
@@ -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 '-{}-' ';'
}