From 1cfa66a4268a4eefea29f207baaefd76d7792027 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 2 Nov 2023 11:29:28 -0400 Subject: tests: Add tests for ulimit -n after -exec --- tests/posix/exec_ulimit.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/posix/exec_ulimit.sh (limited to 'tests/posix/exec_ulimit.sh') diff --git a/tests/posix/exec_ulimit.sh b/tests/posix/exec_ulimit.sh new file mode 100644 index 0000000..8ac8ff1 --- /dev/null +++ b/tests/posix/exec_ulimit.sh @@ -0,0 +1,2 @@ +ulimit -Sn 16 +bfs_diff deep -type f -exec bash -c 'printf "%d %s\n" $(ulimit -Sn) "${1:0:6}/.../${1##*/}"' bash {} \; -- cgit v1.2.3