summaryrefslogtreecommitdiff
path: root/t/pragma/warn/sv
diff options
context:
space:
mode:
Diffstat (limited to 't/pragma/warn/sv')
-rw-r--r--t/pragma/warn/sv2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/pragma/warn/sv b/t/pragma/warn/sv
index 0f1d83c2e5..f453de96d3 100644
--- a/t/pragma/warn/sv
+++ b/t/pragma/warn/sv
@@ -181,7 +181,7 @@ Subroutine fred redefined at - line 5.
########
# sv.c
use warning 'printf' ;
-open F, ">/dev/null" ;
+open F, ">".($^O eq 'VMS'? 'NL:' : '/dev/null') ;
printf F "%q\n" ;
my $a = sprintf "%q" ;
printf F "%" ;