Skip to content

tests: replace hard-coded /dev/null with variable - #15098

Closed
vszakats wants to merge 8 commits into
curl:masterfrom
vszakats:tests-devnull
Closed

tests: replace hard-coded /dev/null with variable#15098
vszakats wants to merge 8 commits into
curl:masterfrom
vszakats:tests-devnull

Conversation

@vszakats

@vszakats vszakats commented Sep 30, 2024

Copy link
Copy Markdown
Member
  • add variable for the null device filename and use that in Perl code.
  • initialize this variable with NUL on native Windows.
  • add %DEV_NULL variable and use it in tests.

Fixes The system cannot find the path specified. messages seen when
running runtests.pl with native Windows Perl.

Also adjust code to not break mcedit syntax highlighting.

Cherry-picked from #14949

@vszakats vszakats added the tests label Sep 30, 2024
@vszakats vszakats closed this in 68c3586 Oct 1, 2024
@vszakats
vszakats deleted the tests-devnull branch October 1, 2024 10:09
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
- add variable for the null device filename and use that in Perl code.
- initialize this variable with `NUL` on native Windows.
- add `%DEV_NULL` variable and use it in tests.

Fixes `The system cannot find the path specified.` messages seen when
running `runtests.pl` with native Windows Perl.

Also adjust code to not break mcedit syntax highlighting.

Cherry-picked from curl#14949
Closes curl#15098
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant