summaryrefslogtreecommitdiffstats
path: root/tests/gnu/execdir_ulimit.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-11-02 11:29:28 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-11-02 12:15:58 -0400
commit1cfa66a4268a4eefea29f207baaefd76d7792027 (patch)
treee5395b97bee9f0cf728c073f039d3dc45362c49a /tests/gnu/execdir_ulimit.sh
parentb2ab7a151fca517f4879e76e626ec85ad3de97c7 (diff)
downloadbfs-1cfa66a4268a4eefea29f207baaefd76d7792027.tar.xz
tests: Add tests for ulimit -n after -exec
Diffstat (limited to 'tests/gnu/execdir_ulimit.sh')
-rw-r--r--tests/gnu/execdir_ulimit.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gnu/execdir_ulimit.sh b/tests/gnu/execdir_ulimit.sh
new file mode 100644
index 0000000..3245dad
--- /dev/null
+++ b/tests/gnu/execdir_ulimit.sh
@@ -0,0 +1,2 @@
+ulimit -Sn 16
+bfs_diff deep -type f -execdir bash -c 'printf "%d %s\n" $(ulimit -Sn) "$1"' bash {} \;