File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
Inputs/shtest-ulimit-nondarwin Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11# RUN: ulimit -f 5
2- # RUN: %{python} %S/print_limits.py
2+ # RUN: %{python} %S/../shtest-ulimit/ print_limits.py
33# RUN: ulimit -f unlimited
4- # RUN: %{python} %S/print_limits.py
4+ # RUN: %{python} %S/../shtest-ulimit/ print_limits.py
55# Fail the test so that we can assert on the output.
66# RUN: not echo return
Original file line number Diff line number Diff line change 66
77# RUN: not %{lit} -a -v %{inputs}/shtest-ulimit-nondarwin | FileCheck %s
88
9- # CHECK: -- Testing: 1 tests{{.*}}
9+ # CHECK: -- Testing: 2 tests{{.*}}
1010
1111# CHECK-LABEL: FAIL: shtest-ulimit :: ulimit_okay.txt ({{[^)]*}})
1212# CHECK: ulimit -v 1048576
1313# CHECK: ulimit -s 256
1414# CHECK: RLIMIT_AS=1073741824
1515# CHECK: RLIMIT_STACK=262144
16+
17+ # CHECK-LABEL: FAIL: shtest-ulimit :: ulimit_unlimited.txt ({{[^)]*}})
18+ # CHECK: ulimit -f 5
19+ # CHECK: RLIMIT_FSIZE=5
20+ # CHECK: ulimit -f unlimited
21+ # CHECK: RLIMIT_FSIZE=-1
Original file line number Diff line number Diff line change 1111# RUN: not %{lit} -a -v %{inputs}/shtest-ulimit --order=lexical \
1212# RUN: | FileCheck -DBASE_NOFILE_LIMIT=%{readfile:%t.nofile_limit} %s
1313
14- # CHECK: -- Testing: 4 tests{{.*}}
14+ # CHECK: -- Testing: 3 tests{{.*}}
1515
1616# CHECK-LABEL: FAIL: shtest-ulimit :: ulimit-bad-arg.txt ({{[^)]*}})
1717# CHECK: ulimit -n
2525
2626# CHECK-LABEL: FAIL: shtest-ulimit :: ulimit_reset.txt ({{[^)]*}})
2727# CHECK: RLIMIT_NOFILE=[[BASE_NOFILE_LIMIT]]
28-
29- # CHECK-LABEL: FAIL: shtest-ulimit :: ulimit_unlimited.txt ({{[^)]*}})
30- # CHECK: ulimit -f 5
31- # CHECK: RLIMIT_FSIZE=5
32- # CHECK: ulimit -f unlimited
33- # CHECK: RLIMIT_FSIZE=-1
You can’t perform that action at this time.
0 commit comments