Repository navigation
Commit 8cf0768
committed
ts: mask Cygwin fish snippet killing other fish processes
Cygwin's fish package ships a /etc/fish/conf.d/01_fish_variables.fish
configuration snippet that runs "pgrep fish | grep -v ^$fish_pid$ |
xargs -r kill" when executed. When test files run concurrently, a fish
process started by one of them kills the fish processes started by the
others, which makes the source-sh and sh-to-mod tests relying on fish
fail or hang nondeterministically on Cygwin.
Mask this snippet with an empty file of the same name in a user
configuration directory set in the testsuite directory, which becomes
the home directory of tests. fish sources a single snippet per file
name and looks at the user configuration directory first. The fish
checks run at testsuite initialization, prior to the home directory
change, are pointed at this configuration directory too.
This snippet is also what made the fish test of source-sh fail on
Cygwin, so this test is not expected to fail there anymore.
Assisted-by: Claude:claude-fable-5-1
Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>1 parent 31d65bd commit 8cf0768
3 files changed
Lines changed: 24 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
219 | 234 | | |
220 | 235 | | |
221 | | - | |
| 236 | + | |
222 | 237 | | |
223 | 238 | | |
224 | 239 | | |
225 | | - | |
| 240 | + | |
226 | 241 | | |
227 | 242 | | |
228 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
216 | 222 | | |
217 | 223 | | |
218 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1422 | 1422 | | |
1423 | 1423 | | |
1424 | 1424 | | |
1425 | | - | |
1426 | | - | |
1427 | | - | |
1428 | | - | |
| 1425 | + | |
1429 | 1426 | | |
1430 | 1427 | | |
1431 | 1428 | | |
| |||
0 commit comments