Lines Matching full:not
1 # Check the not command
3 # RUN: not %{lit} -a -v %{inputs}/shtest-not \
8 # Make sure not and env commands are included in printed commands.
12 # CHECK: FAIL: shtest-not :: exclamation-args-nested-none.txt {{.*}}
17 # CHECK: FAIL: shtest-not :: exclamation-args-none.txt {{.*}}
22 # CHECK: FAIL: shtest-not :: exclamation-calls-external.txt {{.*}}
32 # CHECK: FAIL: shtest-not :: not-args-last-is-crash.txt {{.*}}
33 # CHECK: $ "not" "--crash"
34 # CHECK: Error: 'not' requires a subcommand
37 # CHECK: FAIL: shtest-not :: not-args-nested-none.txt {{.*}}
38 # CHECK: $ "not" "not" "not"
39 # CHECK: Error: 'not' requires a subcommand
42 # CHECK: FAIL: shtest-not :: not-args-none.txt {{.*}}
43 # CHECK: $ "not"
44 # CHECK: Error: 'not' requires a subcommand
47 # CHECK: FAIL: shtest-not :: not-calls-cd.txt {{.*}}
48 # CHECK: $ "not" "not" "cd" "foobar"
49 # CHECK: $ "not" "--crash" "cd" "foobar"
50 # CHECK: Error: 'not --crash' cannot call 'cd'
53 # CHECK: FAIL: shtest-not :: not-calls-colon.txt {{.*}}
54 # CHECK: $ "not" "not" ":" "foobar"
55 # CHECK: $ "not" "--crash" ":"
56 # CHECK: Error: 'not --crash' cannot call ':'
59 # CHECK: FAIL: shtest-not :: not-calls-diff-with-crash.txt {{.*}}
60 # CHECK: $ "not" "--crash" "diff" "-u" {{.*}}
61 # CHECK-NOT: "$"
62 # CHECK-NOT: {{[Ee]rror}}
64 # CHECK-NOT: {{[Ee]rror}}
65 # CHECK-NOT: "$"
67 # CHECK: FAIL: shtest-not :: not-calls-diff.txt {{.*}}
68 # CHECK: $ "not" "diff" {{.*}}
69 # CHECK: $ "not" "not" "not" "diff" {{.*}}
70 # CHECK: $ "not" "not" "not" "not" "not" "diff" {{.*}}
72 # CHECK: $ "not" "not" "diff" {{.*}}
73 # CHECK: $ "not" "not" "not" "not" "diff" {{.*}}
74 # CHECK: $ "not" "diff" {{.*}}
75 # CHECK-NOT: "$"
77 # CHECK: FAIL: shtest-not :: not-calls-echo.txt {{.*}}
78 # CHECK: $ "not" "not" "echo" "hello" "world"
79 # CHECK: $ "not" "--crash" "echo" "hello" "world"
80 # CHECK: Error: 'not --crash' cannot call 'echo'
83 # CHECK: FAIL: shtest-not :: not-calls-env-builtin.txt {{.*}}
84 # CHECK: $ "not" "--crash" "env" "-u" "FOO" "BAR=3" "rm" "{{.*}}.no-such-file"
88 # CHECK: FAIL: shtest-not :: not-calls-export.txt {{.*}}
89 # CHECK: $ "not" "not" "export" "FOO=1"
90 # CHECK: $ "not" "--crash" "export" "BAZ=3"
91 # CHECK: Error: 'not --crash' cannot call 'export'
95 # CHECK: PASS: shtest-not :: not-calls-external.txt {{.*}}
97 # CHECK: $ "not" "{{[^"]*}}" "fail.py"
98 # CHECK: $ "not" "not" "{{[^"]*}}" "pass.py"
99 # CHECK: $ "not" "not" "not" "{{[^"]*}}" "fail.py"
100 # CHECK: $ "not" "not" "not" "not" "{{[^"]*}}" "pass.py"
102 # CHECK: $ "not" "not" "--crash" "{{[^"]*}}" "pass.py"
103 # CHECK: $ "not" "not" "--crash" "{{[^"]*}}" "fail.py"
104 # CHECK: $ "not" "not" "--crash" "not" "{{[^"]*}}" "pass.py"
105 # CHECK: $ "not" "not" "--crash" "not" "{{[^"]*}}" "fail.py"
107 # CHECK: $ "env" "not" "{{[^"]*}}" "fail.py"
108 # CHECK: $ "not" "env" "{{[^"]*}}" "fail.py"
109 # CHECK: $ "env" "FOO=1" "not" "{{[^"]*}}" "fail.py"
110 # CHECK: $ "not" "env" "FOO=1" "BAR=1" "{{[^"]*}}" "fail.py"
111 # CHECK: $ "env" "FOO=1" "BAR=1" "not" "env" "-u" "FOO" "BAR=2" "{{[^"]*}}" "fail.py"
112 # CHECK: $ "not" "env" "FOO=1" "BAR=1" "not" "env" "-u" "FOO" "-u" "BAR" "{{[^"]*}}" "pass.py"
113 # CHECK: $ "not" "not" "env" "FOO=1" "env" "FOO=2" "BAR=1" "{{[^"]*}}" "pass.py"
114 # CHECK: $ "env" "FOO=1" "-u" "BAR" "env" "-u" "FOO" "BAR=1" "not" "not" "{{[^"]*}}" "pass.py"
116 # CHECK: $ "not" "env" "FOO=1" "BAR=1" "env" "FOO=2" "BAR=2" "not" "--crash" "{{[^"]*}}" "pass.py"
117 # CHECK: $ "not" "env" "FOO=1" "BAR=1" "not" "--crash" "not" "{{[^"]*}}" "pass.py"
118 # CHECK: $ "not" "not" "--crash" "env" "-u" "BAR" "not" "env" "-u" "FOO" "BAR=1" "{{[^"]*}}" "pass.…
121 # CHECK: FAIL: shtest-not :: not-calls-fail2.txt {{.*}}
122 # CHECK-NEXT: {{.*}} TEST 'shtest-not :: not-calls-fail2.txt' FAILED {{.*}}
128 # CHECK: FAIL: shtest-not :: not-calls-mkdir.txt {{.*}}
129 # CHECK: $ "not" "mkdir" {{.*}}
130 # CHECK: $ "not" "--crash" "mkdir" "foobar"
131 # CHECK: Error: 'not --crash' cannot call 'mkdir'
134 # CHECK: FAIL: shtest-not :: not-calls-rm.txt {{.*}}
135 # CHECK: $ "not" "rm" {{.*}}
136 # CHECK: $ "not" "--crash" "rm" "foobar"
137 # CHECK: Error: 'not --crash' cannot call 'rm'
142 # CHECK-NOT: {{.}}