Problem: tests: Test_netrw_FileUrlEdit.. fails on Windows
(after
3e60f03d942d6bb0f7)
Solution: Skip the test on Windows (Yasuhiro Matsumoto).
The Test_netrw_FileUrlEdit_pipe_injection() test fails on Windows with
E303 because '|' is not a valid filename character on Windows. Since
the pipe character cannot appear in a Windows filename, the command
injection vector this test guards against does not apply on Windows.
closes: #19890
Signed-off-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
endfunc
func Test_netrw_FileUrlEdit_pipe_injection()
+ CheckUnix
CheckExecutable id
let fname = 'Xtestfile'
let url = 'file:///tmp/file.md%7C!id>'..fname
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 281,
/**/
280,
/**/