Commit 6dd9a9b
committed
t6022: skip the unrepresentable file name under BusyBox
The setup shared by the --missing=print-info tests creates a file
literally named `bat"`. On native Windows the double-quote is a reserved
file name character; the MSYS2 Bash gets away with it because Cygwin
transparently mangles such names, but BusyBox' `ash` talks to the Win32
API directly and fails with "can't create bat\": Invalid argument",
taking the whole setup -- and thus all five print-info tests -- down
with it.
None of the objects exercised in this loop (HEAD~1, HEAD:foo,
HEAD:baz baz, ...) is that file, and the expected object lists are
computed dynamically, so simply not creating it under BusyBox leaves the
tests intact.
Assisted-by: Opus 4.8
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent f866a5f commit 6dd9a9b
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
162 | 168 | | |
163 | 169 | | |
164 | 170 | | |
| |||
0 commit comments