Skip to content

Commit d94765b

Browse files
committed
Can't test embedded newlines on VMS
The oneliner method is intended to build commands suitable for writing to a Makefile or equivalent. On VMS, this works fine because the make utility interprets the newlines with continuation characters. But sending that same command through backticks is not currently working because the newlines get swallowed without the continuation characters being consumed. That may well be a bug in the backticks implementation, but for now we can't reliably use backticks to test what the make utility would do.
1 parent 438d0ec commit d94765b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

t/oneliner.t

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ try_oneliner(q{print q[ "&<>^|@() !"&<>^|@() !" ]}, [], q{ "&<>^|@() !"&<>^|@()
5959
try_oneliner(q{print q[ "C:\TEST A\" ]}, [], q{ "C:\TEST A\" }, 'example 8.4' );
6060
try_oneliner(q{print q[ "C:\TEST %&^ A\" ]}, [], q{ "C:\TEST %&^ A\" }, 'example 8.5' );
6161

62-
try_oneliner(<<CODE, [], "foobar", 'newlines' );
62+
SKIP: {
63+
skip "Can't send newlines through backticks on VMS", 1 if $^O eq 'VMS';
64+
try_oneliner(<<CODE, [], "foobar", 'newlines' );
6365
print "foo";
6466
print "bar";
6567
CODE
68+
69+
}

0 commit comments

Comments
 (0)