| 1 |
set test "user-hw-breakpoint-addr" |
| 2 |
set testpath "$srcdir/$subdir" |
| 3 |
|
| 4 |
if {! [installtest_p]} { untested $test; return } |
| 5 |
if {! [uretprobes_p]} { untested $test; return } |
| 6 |
|
| 7 |
# --- TEST 1 --- |
| 8 |
|
| 9 |
set subtest1 "TEST 1: process.data(ADDR).rw ubacktrace okay" |
| 10 |
|
| 11 |
set res [target_compile ${testpath}/${test}_1.c ./a.out executable \ |
| 12 |
"additional_flags=-O additional_flags=-g additional_flags=-O0 additional_flags=-g additional_flags=-fno-PIC additional_flags=-no-pie"] |
| 13 |
if {$res ne ""} { |
| 14 |
verbose "target_compile failed: $res" 2 |
| 15 |
fail "$test: $subtest1: unable to compile ${test}_1.c" |
| 16 |
} else { |
| 17 |
if {! [process_template_file "$srcdir/$subdir/${test}_1.stp" \ |
| 18 |
"./${test}_1.stp" "./a.out" nm_err]} { |
| 19 |
fail "$test: $subtest1: $nm_err" |
| 20 |
} else { |
| 21 |
foreach runtime [get_runtime_list] { |
| 22 |
if {$runtime eq ""} { |
| 23 |
set runtime "kernel" |
| 24 |
} |
| 25 |
set test_name "$test: $subtest1 ($runtime)" |
| 26 |
set cmd "stap --ldd --runtime=$runtime -c ./a.out './${test}_1.stp'" |
| 27 |
set exit_code [run_cmd_2way_as_root $cmd out stderr] |
| 28 |
set out_pat "\\smain\\+0x\[^\\n\]+\\w\\.c:3\\s.*?\\n.*?\\smain\\+0x.*?\\w\\.c:4\\s" |
| 29 |
like "${test_name}: stdout" $out $out_pat "-lineanchor" |
| 30 |
is "${test_name}: exit code" $exit_code 0 |
| 31 |
if {$stderr ne ""} { |
| 32 |
send_log "stderr:\n$stderr" |
| 33 |
} |
| 34 |
} |
| 35 |
} |
| 36 |
} |
| 37 |
|
| 38 |
# --- TEST 2 --- |
| 39 |
|
| 40 |
set subtest2 "TEST 2: process.data(ADDR).rw hit count okay" |
| 41 |
|
| 42 |
set res [target_compile ${testpath}/${test}_1.c ./a.out executable \ |
| 43 |
"additional_flags=-O additional_flags=-g additional_flags=-O0 additional_flags=-g additional_flags=-fno-PIC additional_flags=-no-pie"] |
| 44 |
if {$res ne ""} { |
| 45 |
verbose "target_compile failed: $res" 2 |
| 46 |
fail "$test: $subtest2: unable to compile ${test}_1.c" |
| 47 |
} else { |
| 48 |
if {! [process_template_file "$srcdir/$subdir/${test}_2.stp" \ |
| 49 |
"./${test}_2.stp" "./a.out" nm_err]} { |
| 50 |
fail "$test: $subtest2: $nm_err" |
| 51 |
} else { |
| 52 |
foreach runtime [get_runtime_list] { |
| 53 |
if {$runtime eq ""} { |
| 54 |
set runtime "kernel" |
| 55 |
} |
| 56 |
set test_name "$test: $subtest2 ($runtime)" |
| 57 |
set cmd "stap --runtime=$runtime -c ./a.out './${test}_2.stp'" |
| 58 |
set exit_code [run_cmd_2way_as_root $cmd out stderr] |
| 59 |
set exp_out "Hit |
| 60 |
Hit |
| 61 |
Hit |
| 62 |
" |
| 63 |
is "${test_name}: stdout" $out $exp_out |
| 64 |
is "${test_name}: exit code" $exit_code 0 |
| 65 |
if {$stderr ne ""} { |
| 66 |
send_log "stderr:\n$stderr" |
| 67 |
} |
| 68 |
} |
| 69 |
} |
| 70 |
} |
| 71 |
|
| 72 |
# --- TEST 3 --- |
| 73 |
|
| 74 |
set subtest3 "TEST 3: process.data(ADDR).write hit count okay" |
| 75 |
|
| 76 |
set res [target_compile ${testpath}/${test}_1.c ./a.out executable \ |
| 77 |
"additional_flags=-O additional_flags=-g additional_flags=-O0 additional_flags=-g additional_flags=-fno-PIC additional_flags=-no-pie"] |
| 78 |
if {$res ne ""} { |
| 79 |
verbose "target_compile failed: $res" 2 |
| 80 |
fail "$test: $subtest3: unable to compile ${test}_1.c" |
| 81 |
} else { |
| 82 |
if {! [process_template_file "$srcdir/$subdir/${test}_3.stp" \ |
| 83 |
"./${test}_3.stp" "./a.out" nm_err]} { |
| 84 |
fail "$test: $subtest3: $nm_err" |
| 85 |
} else { |
| 86 |
foreach runtime [get_runtime_list] { |
| 87 |
if {$runtime eq ""} { |
| 88 |
set runtime "kernel" |
| 89 |
} |
| 90 |
set test_name "$test: $subtest3 ($runtime)" |
| 91 |
set cmd "stap --runtime=$runtime -c ./a.out './${test}_3.stp'" |
| 92 |
set exit_code [run_cmd_2way_as_root $cmd out stderr] |
| 93 |
set exp_out "Hit |
| 94 |
Hit |
| 95 |
" |
| 96 |
is "${test_name}: stdout" $out $exp_out |
| 97 |
is "${test_name}: exit code" $exit_code 0 |
| 98 |
if {$stderr ne ""} { |
| 99 |
send_log "stderr:\n$stderr" |
| 100 |
} |
| 101 |
} |
| 102 |
} |
| 103 |
} |
| 104 |
|
| 105 |
# --- TEST 4 --- |
| 106 |
|
| 107 |
set subtest4 "TEST 4: process.data(ADDR).write ubacktrace okay" |
| 108 |
|
| 109 |
set res [target_compile ${testpath}/${test}_1.c ./a.out executable \ |
| 110 |
"additional_flags=-O additional_flags=-g additional_flags=-O0 additional_flags=-g additional_flags=-fno-PIC additional_flags=-no-pie"] |
| 111 |
if {$res ne ""} { |
| 112 |
verbose "target_compile failed: $res" 2 |
| 113 |
fail "$test: $subtest4: unable to compile ${test}_1.c" |
| 114 |
} else { |
| 115 |
if {! [process_template_file "$srcdir/$subdir/${test}_4.stp" \ |
| 116 |
"./${test}_4.stp" "./a.out" nm_err]} { |
| 117 |
fail "$test: $subtest4: $nm_err" |
| 118 |
} else { |
| 119 |
foreach runtime [get_runtime_list] { |
| 120 |
if {$runtime eq ""} { |
| 121 |
set runtime "kernel" |
| 122 |
} |
| 123 |
set test_name "$test: $subtest4 ($runtime)" |
| 124 |
set cmd "stap --ldd --runtime=$runtime -c ./a.out './${test}_4.stp'" |
| 125 |
set exit_code [run_cmd_2way_as_root $cmd out stderr] |
| 126 |
set out_pat "\\A~~~ |
| 127 |
0x\[0-9a-f\]+ : execve\\+0x\[0-9a-f\]/0x\[0-9a-f\]+ \\\[\[^\\n\\\]\]+/libc-\[^\\\]\\n\]+\\\] |
| 128 |
~~~ |
| 129 |
0x\[0-9a-f\]+ : main\\+0x\[0-9a-f\]+/0x\[0-9a-f\]+ at \[^\\n\]+\\w\\.c:4 \\\[\[^\\\[\\n\]+\\\]" |
| 130 |
like "${test_name}: stdout" $out $out_pat "-lineanchor" |
| 131 |
set no_out_pat "\\smain\\+.*?~~~.*?\\smain\\+" |
| 132 |
unlike "${test_name}: stdout should not match" $out $no_out_pat "-lineanchor" |
| 133 |
is "${test_name}: exit code" $exit_code 0 |
| 134 |
if {$stderr ne ""} { |
| 135 |
send_log "stderr:\n$stderr" |
| 136 |
} |
| 137 |
} |
| 138 |
} |
| 139 |
} |
| 140 |
|
| 141 |
# --- TEST 5 --- |
| 142 |
|
| 143 |
set subtest5 "TEST 5: process.data(ADDR).length.write hit count okay (length 1 hit)" |
| 144 |
|
| 145 |
set res [target_compile ${testpath}/${test}_5.c ./a.out executable \ |
| 146 |
"additional_flags=-O additional_flags=-g additional_flags=-O0 additional_flags=-g additional_flags=-fno-PIC additional_flags=-no-pie"] |
| 147 |
if {$res ne ""} { |
| 148 |
verbose "target_compile failed: $res" 2 |
| 149 |
fail "$test: $subtest5: unable to compile ${test}_5.c" |
| 150 |
} else { |
| 151 |
if {! [process_template_file "$srcdir/$subdir/${test}_5.stp" \ |
| 152 |
"./${test}_5.stp" "./a.out" nm_err]} { |
| 153 |
fail "$test: $subtest5: $nm_err" |
| 154 |
} else { |
| 155 |
foreach runtime [get_runtime_list] { |
| 156 |
if {$runtime eq ""} { |
| 157 |
set runtime "kernel" |
| 158 |
} |
| 159 |
set test_name "$test: $subtest5 ($runtime)" |
| 160 |
set cmd "stap --runtime=$runtime -c ./a.out './${test}_5.stp'" |
| 161 |
set exit_code [run_cmd_2way_as_root $cmd out stderr] |
| 162 |
set exp_out "Hit |
| 163 |
Hit |
| 164 |
" |
| 165 |
is "${test_name}: stdout" $out $exp_out |
| 166 |
is "${test_name}: exit code" $exit_code 0 |
| 167 |
if {$stderr ne ""} { |
| 168 |
send_log "stderr:\n$stderr" |
| 169 |
} |
| 170 |
} |
| 171 |
} |
| 172 |
} |
| 173 |
|
| 174 |
# --- TEST 6 --- |
| 175 |
|
| 176 |
set subtest6 "TEST 6: process.data(ADDR).length.write hit count okay (length 1 not hit)" |
| 177 |
|
| 178 |
set res [target_compile ${testpath}/${test}_6.c ./a.out executable \ |
| 179 |
"additional_flags=-O additional_flags=-g additional_flags=-O0 additional_flags=-g additional_flags=-fno-PIC additional_flags=-no-pie"] |
| 180 |
if {$res ne ""} { |
| 181 |
verbose "target_compile failed: $res" 2 |
| 182 |
fail "$test: $subtest6: unable to compile ${test}_6.c" |
| 183 |
} else { |
| 184 |
if {! [process_template_file "$srcdir/$subdir/${test}_5.stp" \ |
| 185 |
"./${test}_5.stp" "./a.out" nm_err]} { |
| 186 |
fail "$test: $subtest6: $nm_err" |
| 187 |
} else { |
| 188 |
foreach runtime [get_runtime_list] { |
| 189 |
if {$runtime eq ""} { |
| 190 |
set runtime "kernel" |
| 191 |
} |
| 192 |
set test_name "$test: $subtest6 ($runtime)" |
| 193 |
set cmd "stap --runtime=$runtime -c ./a.out './${test}_5.stp'" |
| 194 |
set exit_code [run_cmd_2way_as_root $cmd out stderr] |
| 195 |
set exp_out "Hit\n" |
| 196 |
is "${test_name}: stdout" $out $exp_out |
| 197 |
is "${test_name}: exit code" $exit_code 0 |
| 198 |
if {$stderr ne ""} { |
| 199 |
send_log "stderr:\n$stderr" |
| 200 |
} |
| 201 |
} |
| 202 |
} |
| 203 |
} |
| 204 |
|
| 205 |
# --- TEST 7 --- |
| 206 |
|
| 207 |
set subtest7 "TEST 7: process.data(ADDR).length.write hit count okay (length 2 hit)" |
| 208 |
|
| 209 |
set res [target_compile ${testpath}/${test}_6.c ./a.out executable \ |
| 210 |
"additional_flags=-O additional_flags=-g additional_flags=-O0 additional_flags=-g additional_flags=-fno-PIC additional_flags=-no-pie"] |
| 211 |
if {$res ne ""} { |
| 212 |
verbose "target_compile failed: $res" 2 |
| 213 |
fail "$test: $subtest7: unable to compile ${test}_6.c" |
| 214 |
} else { |
| 215 |
if {! [process_template_file "$srcdir/$subdir/${test}_7.stp" \ |
| 216 |
"./${test}_7.stp" "./a.out" nm_err]} { |
| 217 |
fail "$test: $subtest7: $nm_err" |
| 218 |
} else { |
| 219 |
foreach runtime [get_runtime_list] { |
| 220 |
if {$runtime eq ""} { |
| 221 |
set runtime "kernel" |
| 222 |
} |
| 223 |
set test_name "$test: $subtest7 ($runtime)" |
| 224 |
set cmd "stap --runtime=$runtime -c ./a.out './${test}_7.stp'" |
| 225 |
set exit_code [run_cmd_2way_as_root $cmd out stderr] |
| 226 |
set exp_out "Hit |
| 227 |
Hit |
| 228 |
" |
| 229 |
is "${test_name}: stdout" $out $exp_out |
| 230 |
is "${test_name}: exit code" $exit_code 0 |
| 231 |
if {$stderr ne ""} { |
| 232 |
send_log "stderr:\n$stderr" |
| 233 |
} |
| 234 |
} |
| 235 |
} |
| 236 |
} |
| 237 |
|
| 238 |
# --- TEST 8 --- |
| 239 |
|
| 240 |
set subtest8 "TEST 8: process.data(ADDR).length.write hit count okay (length 2 NOT hit)" |
| 241 |
|
| 242 |
set res [target_compile ${testpath}/${test}_8.c ./a.out executable \ |
| 243 |
"additional_flags=-O additional_flags=-g additional_flags=-O0 additional_flags=-g additional_flags=-fno-PIC additional_flags=-no-pie"] |
| 244 |
if {$res ne ""} { |
| 245 |
verbose "target_compile failed: $res" 2 |
| 246 |
fail "$test: $subtest8: unable to compile ${test}_8.c" |
| 247 |
} else { |
| 248 |
if {! [process_template_file "$srcdir/$subdir/${test}_7.stp" \ |
| 249 |
"./${test}_7.stp" "./a.out" nm_err]} { |
| 250 |
fail "$test: $subtest8: $nm_err" |
| 251 |
} else { |
| 252 |
foreach runtime [get_runtime_list] { |
| 253 |
if {$runtime eq ""} { |
| 254 |
set runtime "kernel" |
| 255 |
} |
| 256 |
set test_name "$test: $subtest8 ($runtime)" |
| 257 |
set cmd "stap --runtime=$runtime -c ./a.out './${test}_7.stp'" |
| 258 |
set exit_code [run_cmd_2way_as_root $cmd out stderr] |
| 259 |
set exp_out "Hit\n" |
| 260 |
is "${test_name}: stdout" $out $exp_out |
| 261 |
is "${test_name}: exit code" $exit_code 0 |
| 262 |
if {$stderr ne ""} { |
| 263 |
send_log "stderr:\n$stderr" |
| 264 |
} |
| 265 |
} |
| 266 |
} |
| 267 |
} |
| 268 |
|
| 269 |
# --- TEST 9 --- |
| 270 |
|
| 271 |
set subtest9 "TEST 9: process.data(ADDR).length.write hit count okay (length 4 hit)" |
| 272 |
|
| 273 |
set res [target_compile ${testpath}/${test}_8.c ./a.out executable \ |
| 274 |
"additional_flags=-O additional_flags=-g additional_flags=-O0 additional_flags=-g additional_flags=-fno-PIC additional_flags=-no-pie"] |
| 275 |
if {$res ne ""} { |
| 276 |
verbose "target_compile failed: $res" 2 |
| 277 |
fail "$test: $subtest9: unable to compile ${test}_8.c" |
| 278 |
} else { |
| 279 |
if {! [process_template_file "$srcdir/$subdir/${test}_9.stp" \ |
| 280 |
"./${test}_9.stp" "./a.out" nm_err]} { |
| 281 |
fail "$test: $subtest9: $nm_err" |
| 282 |
} else { |
| 283 |
foreach runtime [get_runtime_list] { |
| 284 |
if {$runtime eq ""} { |
| 285 |
set runtime "kernel" |
| 286 |
} |
| 287 |
set test_name "$test: $subtest9 ($runtime)" |
| 288 |
set cmd "stap --runtime=$runtime -c ./a.out './${test}_9.stp'" |
| 289 |
set exit_code [run_cmd_2way_as_root $cmd out stderr] |
| 290 |
set exp_out "Hit |
| 291 |
Hit |
| 292 |
" |
| 293 |
is "${test_name}: stdout" $out $exp_out |
| 294 |
is "${test_name}: exit code" $exit_code 0 |
| 295 |
if {$stderr ne ""} { |
| 296 |
send_log "stderr:\n$stderr" |
| 297 |
} |
| 298 |
} |
| 299 |
} |
| 300 |
} |
| 301 |
|
| 302 |
# --- TEST 10 --- |
| 303 |
|
| 304 |
set subtest10 "TEST 10: process.data(ADDR).length.write hit count okay (length 4 NOT hit)" |
| 305 |
|
| 306 |
set res [target_compile ${testpath}/${test}_10.c ./a.out executable \ |
| 307 |
"additional_flags=-O additional_flags=-g additional_flags=-O0 additional_flags=-g additional_flags=-fno-PIC additional_flags=-no-pie"] |
| 308 |
if {$res ne ""} { |
| 309 |
verbose "target_compile failed: $res" 2 |
| 310 |
fail "$test: $subtest10: unable to compile ${test}_10.c" |
| 311 |
} else { |
| 312 |
if {! [process_template_file "$srcdir/$subdir/${test}_9.stp" \ |
| 313 |
"./${test}_9.stp" "./a.out" nm_err]} { |
| 314 |
fail "$test: $subtest10: $nm_err" |
| 315 |
} else { |
| 316 |
foreach runtime [get_runtime_list] { |
| 317 |
if {$runtime eq ""} { |
| 318 |
set runtime "kernel" |
| 319 |
} |
| 320 |
set test_name "$test: $subtest10 ($runtime)" |
| 321 |
set cmd "stap --runtime=$runtime -c ./a.out './${test}_9.stp'" |
| 322 |
set exit_code [run_cmd_2way_as_root $cmd out stderr] |
| 323 |
set exp_out "Hit\n" |
| 324 |
is "${test_name}: stdout" $out $exp_out |
| 325 |
is "${test_name}: exit code" $exit_code 0 |
| 326 |
if {$stderr ne ""} { |
| 327 |
send_log "stderr:\n$stderr" |
| 328 |
} |
| 329 |
} |
| 330 |
} |
| 331 |
} |
| 332 |
|
| 333 |
# --- TEST 11 --- |
| 334 |
|
| 335 |
set subtest11 "TEST 11: process.data(ADDR).length.write hit ubt okay (length 8 hit)" |
| 336 |
|
| 337 |
# execve might need 1 or 2 writes to intialize a[0..7]. so checking count |
| 338 |
|
| 339 |
set res [target_compile ${testpath}/${test}_10.c ./a.out executable \ |
| 340 |
"additional_flags=-O additional_flags=-g additional_flags=-O0 additional_flags=-g additional_flags=-fno-PIC additional_flags=-no-pie"] |
| 341 |
if {$res ne ""} { |
| 342 |
verbose "target_compile failed: $res" 2 |
| 343 |
fail "$test: $subtest11: unable to compile ${test}_10.c" |
| 344 |
} else { |
| 345 |
if {! [process_template_file "$srcdir/$subdir/${test}_11.stp" \ |
| 346 |
"./${test}_11.stp" "./a.out" nm_err]} { |
| 347 |
fail "$test: $subtest11: $nm_err" |
| 348 |
} else { |
| 349 |
foreach runtime [get_runtime_list] { |
| 350 |
if {$runtime eq ""} { |
| 351 |
set runtime "kernel" |
| 352 |
} |
| 353 |
set test_name "$test: $subtest11 ($runtime)" |
| 354 |
set cmd "stap --ldd --runtime=$runtime -c ./a.out './${test}_11.stp'" |
| 355 |
set exit_code [run_cmd_2way_as_root $cmd out stderr] |
| 356 |
set out_pat " 0x\[0-9a-f\]+ : main\\+0x\[0-9a-f\]+/0x\[0-9a-f\]+ at \[^\\n\]+\\w\\.c:7 \\\[\[^\\\[\\n\]+\\\]" |
| 357 |
like "${test_name}: stdout" $out $out_pat "-lineanchor" |
| 358 |
is "${test_name}: exit code" $exit_code 0 |
| 359 |
if {$stderr ne ""} { |
| 360 |
send_log "stderr:\n$stderr" |
| 361 |
} |
| 362 |
} |
| 363 |
} |
| 364 |
} |
| 365 |
|
| 366 |
# --- TEST 12 --- |
| 367 |
|
| 368 |
set subtest12 "TEST 12: process.data(ADDR).length.write hit ubt okay (length 8 hit on boundary)" |
| 369 |
|
| 370 |
# execve might need 1 or 2 writes to intialize a[0..7] |
| 371 |
|
| 372 |
set res [target_compile ${testpath}/${test}_12.c ./a.out executable \ |
| 373 |
"additional_flags=-O additional_flags=-g additional_flags=-O0 additional_flags=-g additional_flags=-fno-PIC additional_flags=-no-pie"] |
| 374 |
if {$res ne ""} { |
| 375 |
verbose "target_compile failed: $res" 2 |
| 376 |
fail "$test: $subtest12: unable to compile ${test}_12.c" |
| 377 |
} else { |
| 378 |
if {! [process_template_file "$srcdir/$subdir/${test}_11.stp" \ |
| 379 |
"./${test}_11.stp" "./a.out" nm_err]} { |
| 380 |
fail "$test: $subtest12: $nm_err" |
| 381 |
} else { |
| 382 |
foreach runtime [get_runtime_list] { |
| 383 |
if {$runtime eq ""} { |
| 384 |
set runtime "kernel" |
| 385 |
} |
| 386 |
set test_name "$test: $subtest12 ($runtime)" |
| 387 |
set cmd "stap --ldd --runtime=$runtime -c ./a.out './${test}_11.stp'" |
| 388 |
set exit_code [run_cmd_2way_as_root $cmd out stderr] |
| 389 |
set out_pat " 0x\[0-9a-f\]+ : main\\+0x\[0-9a-f\]+/0x\[0-9a-f\]+ at \[^\\n\]+\\w\\.c:7 \\\[\[^\\\[\\n\]+\\\]" |
| 390 |
like "${test_name}: stdout" $out $out_pat "-lineanchor" |
| 391 |
is "${test_name}: exit code" $exit_code 0 |
| 392 |
if {$stderr ne ""} { |
| 393 |
send_log "stderr:\n$stderr" |
| 394 |
} |
| 395 |
} |
| 396 |
} |
| 397 |
} |
| 398 |
|
| 399 |
# --- TEST 13 --- |
| 400 |
|
| 401 |
set subtest13 "TEST 13: process.data(ADDR).length.write hit ubt okay (length 8 NOT hit)" |
| 402 |
|
| 403 |
# execve might need 1 or 2 writes to intialize a[0..7] |
| 404 |
|
| 405 |
set res [target_compile ${testpath}/${test}_13.c ./a.out executable \ |
| 406 |
"additional_flags=-O additional_flags=-g additional_flags=-O0 additional_flags=-g additional_flags=-fno-PIC additional_flags=-no-pie"] |
| 407 |
if {$res ne ""} { |
| 408 |
verbose "target_compile failed: $res" 2 |
| 409 |
fail "$test: $subtest13: unable to compile ${test}_13.c" |
| 410 |
} else { |
| 411 |
if {! [process_template_file "$srcdir/$subdir/${test}_11.stp" \ |
| 412 |
"./${test}_11.stp" "./a.out" nm_err]} { |
| 413 |
fail "$test: $subtest13: $nm_err" |
| 414 |
} else { |
| 415 |
foreach runtime [get_runtime_list] { |
| 416 |
if {$runtime eq ""} { |
| 417 |
set runtime "kernel" |
| 418 |
} |
| 419 |
set test_name "$test: $subtest13 ($runtime)" |
| 420 |
set cmd "stap --ldd --runtime=$runtime -c ./a.out './${test}_11.stp'" |
| 421 |
set exit_code [run_cmd_2way_as_root $cmd out stderr] |
| 422 |
set out_pat " execve\\+0x\[0-9a-f\]+" |
| 423 |
like "${test_name}: stdout" $out $out_pat "-lineanchor" |
| 424 |
set no_out_pat "\\ymain\\y" |
| 425 |
unlike "${test_name}: stdout should not match" $out $no_out_pat "-lineanchor" |
| 426 |
is "${test_name}: exit code" $exit_code 0 |
| 427 |
if {$stderr ne ""} { |
| 428 |
send_log "stderr:\n$stderr" |
| 429 |
} |
| 430 |
} |
| 431 |
} |
| 432 |
} |