diff options
Diffstat (limited to 'tests/scripts/features/temp_stdin')
-rw-r--r-- | tests/scripts/features/temp_stdin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scripts/features/temp_stdin b/tests/scripts/features/temp_stdin index 3bd53e02..92cb6980 100644 --- a/tests/scripts/features/temp_stdin +++ b/tests/scripts/features/temp_stdin @@ -52,7 +52,7 @@ add_options($cmd, '-f', '/dev/null', '-E', q!all:;@echo $$PPID!); my $fout = 'ppidtest.out'; run_command_with_output($fout, @$cmd); $_ = read_file_into_string($fout); -chomp($_); +s/\r?\n//g; if (/^[0-9]+$/) { use POSIX (); |