Repository navigation
Commit 28f09ad
committed
test(daemon_ipc): fall back to /proc/self/exe when the recorded runner path cannot exec
The userns smoke probe now re-execs cbm_test_program_path (argv[0]) so it
works under Valgrind, where /proc/self/exe does not name the test-runner.
argv[0] can be relative, and earlier tests may change the working
directory, so a failed exec of the recorded path now retries
/proc/self/exe before reporting exit code 3 (re-exec failure).1 parent 9da7715 commit 28f09ad
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5587 | 5587 | | |
5588 | 5588 | | |
5589 | 5589 | | |
5590 | | - | |
5591 | | - | |
5592 | | - | |
| 5590 | + | |
| 5591 | + | |
| 5592 | + | |
| 5593 | + | |
| 5594 | + | |
| 5595 | + | |
| 5596 | + | |
| 5597 | + | |
5593 | 5598 | | |
5594 | 5599 | | |
5595 | 5600 | | |
| |||
0 commit comments