diff --git a/test/system/210-ulimit.bats b/test/system/210-ulimit.bats index 770f55940..dc5915390 100644 --- a/test/system/210-ulimit.bats +++ b/test/system/210-ulimit.bats @@ -39,7 +39,7 @@ teardown_file() { local limit limit=$(ulimit -H -R) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -R + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -R' assert_success assert_line --index 0 "$limit" @@ -54,7 +54,7 @@ teardown_file() { local limit limit=$(ulimit -S -R) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -R + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -R' assert_success assert_line --index 0 "$limit" @@ -69,7 +69,7 @@ teardown_file() { local limit limit=$(ulimit -H -c) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -c + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -c' assert_success assert_line --index 0 "$limit" @@ -84,7 +84,7 @@ teardown_file() { local limit limit=$(ulimit -S -c) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -c + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -c' assert_success assert_line --index 0 "$limit" @@ -99,7 +99,7 @@ teardown_file() { local limit limit=$(ulimit -H -d) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -d + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -d' assert_success assert_line --index 0 "$limit" @@ -114,7 +114,7 @@ teardown_file() { local limit limit=$(ulimit -S -d) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -d + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -d' assert_success assert_line --index 0 "$limit" @@ -129,7 +129,7 @@ teardown_file() { local limit limit=$(ulimit -H -e) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -e + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -e' assert_success assert_line --index 0 "$limit" @@ -144,7 +144,7 @@ teardown_file() { local limit limit=$(ulimit -S -e) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -e + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -e' assert_success assert_line --index 0 "$limit" @@ -159,7 +159,7 @@ teardown_file() { local limit limit=$(ulimit -H -f) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -f + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -f' assert_success assert_line --index 0 "$limit" @@ -174,7 +174,7 @@ teardown_file() { local limit limit=$(ulimit -S -f) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -f + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -f' assert_success assert_line --index 0 "$limit" @@ -189,7 +189,7 @@ teardown_file() { local limit limit=$(ulimit -H -i) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -i + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -i' assert_success assert_line --index 0 "$limit" @@ -204,7 +204,7 @@ teardown_file() { local limit limit=$(ulimit -S -i) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -i + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -i' assert_success assert_line --index 0 "$limit" @@ -219,7 +219,7 @@ teardown_file() { local limit limit=$(ulimit -H -l) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -l + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -l' assert_success assert_line --index 0 "$limit" @@ -234,7 +234,7 @@ teardown_file() { local limit limit=$(ulimit -S -l) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -l + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -l' assert_success assert_line --index 0 "$limit" @@ -249,7 +249,7 @@ teardown_file() { local limit limit=$(ulimit -H -m) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -m + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -m' assert_success assert_line --index 0 "$limit" @@ -264,7 +264,7 @@ teardown_file() { local limit limit=$(ulimit -S -m) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -m + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -m' assert_success assert_line --index 0 "$limit" @@ -279,7 +279,7 @@ teardown_file() { local limit limit=$(ulimit -H -n) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -n + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -n' assert_success assert_line --index 0 "$limit" @@ -294,7 +294,7 @@ teardown_file() { local limit limit=$(ulimit -H -n) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -n + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -n' assert_success assert_line --index 0 "$limit" @@ -309,7 +309,7 @@ teardown_file() { local limit limit=$(ulimit -H -p) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -p + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -p' assert_success assert_line --index 0 "$limit" @@ -324,7 +324,7 @@ teardown_file() { local limit limit=$(ulimit -S -p) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -p + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -p' assert_success assert_line --index 0 "$limit" @@ -339,7 +339,7 @@ teardown_file() { local limit limit=$(ulimit -H -q) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -q + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -q' assert_success assert_line --index 0 "$limit" @@ -354,7 +354,7 @@ teardown_file() { local limit limit=$(ulimit -S -q) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -q + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -q' assert_success assert_line --index 0 "$limit" @@ -369,7 +369,7 @@ teardown_file() { local limit limit=$(ulimit -H -r) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -r + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -r' assert_success assert_line --index 0 "$limit" @@ -384,7 +384,7 @@ teardown_file() { local limit limit=$(ulimit -S -r) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -r + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -r' assert_success assert_line --index 0 "$limit" @@ -399,7 +399,7 @@ teardown_file() { local limit limit=$(ulimit -H -s) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -s + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -s' assert_success assert_line --index 0 "$limit" @@ -414,7 +414,7 @@ teardown_file() { local limit limit=$(ulimit -S -s) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -s + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -s' assert_success assert_line --index 0 "$limit" @@ -429,7 +429,7 @@ teardown_file() { local limit limit=$(ulimit -H -t) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -t + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -t' assert_success assert_line --index 0 "$limit" @@ -444,7 +444,7 @@ teardown_file() { local limit limit=$(ulimit -S -t) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -t + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -t' assert_success assert_line --index 0 "$limit" @@ -459,7 +459,7 @@ teardown_file() { local limit limit=$(ulimit -H -u) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -u + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -u' assert_success assert_line --index 0 "$limit" @@ -474,7 +474,7 @@ teardown_file() { local limit limit=$(ulimit -S -u) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -u + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -u' assert_success assert_line --index 0 "$limit" @@ -489,7 +489,7 @@ teardown_file() { local limit limit=$(ulimit -H -v) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -v + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -v' assert_success assert_line --index 0 "$limit" @@ -504,7 +504,7 @@ teardown_file() { local limit limit=$(ulimit -S -v) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -v + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -v' assert_success assert_line --index 0 "$limit" @@ -519,7 +519,7 @@ teardown_file() { local limit limit=$(ulimit -H -x) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -H -x + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -H -x' assert_success assert_line --index 0 "$limit" @@ -534,7 +534,7 @@ teardown_file() { local limit limit=$(ulimit -S -x) - run --keep-empty-lines --separate-stderr "$TOOLBX" run ulimit -S -x + run --keep-empty-lines --separate-stderr "$TOOLBX" run bash -c 'ulimit -S -x' assert_success assert_line --index 0 "$limit"