From a0d81053d3b9666c8c9879dc90e4da091db4b083 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 25 Mar 2025 11:43:39 -0400 Subject: tests/posix: New test for -exec return value --- tests/posix/exec_return.out | 18 ++++++++++++++++++ tests/posix/exec_return.sh | 1 + 2 files changed, 19 insertions(+) create mode 100644 tests/posix/exec_return.out create mode 100644 tests/posix/exec_return.sh (limited to 'tests/posix') diff --git a/tests/posix/exec_return.out b/tests/posix/exec_return.out new file mode 100644 index 0000000..600c93a --- /dev/null +++ b/tests/posix/exec_return.out @@ -0,0 +1,18 @@ +basic +basic/a +basic/b +basic/c/d +basic/e +basic/e/f +basic/g +basic/g/h +basic/i +basic/j +basic/j/foo +basic/k +basic/k/foo +basic/k/foo/bar +basic/l +basic/l/foo +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/posix/exec_return.sh b/tests/posix/exec_return.sh new file mode 100644 index 0000000..cfa0f5d --- /dev/null +++ b/tests/posix/exec_return.sh @@ -0,0 +1 @@ +bfs_diff basic -exec test {} = basic/c \; -o -print -- cgit v1.2.3