Commit dd15544
start_test: Add fallback when shell cannot be detected
Running `make check` as part of `rpmbuild` inside a container causes
shell.GetShell("") to fail, and thus `start_test` fails as well.
This commit adds an OS dependant fallback when the shell cannot be
detected while running the test case.1 parent 6956b8f commit dd15544
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
38 | 46 | | |
39 | 47 | | |
40 | 48 | | |
| |||
0 commit comments