cms-test.pl: "localize" /dev/null even further [as follow-up to VMS].
authorAndy Polyakov <appro@openssl.org>
Fri, 30 Jan 2015 15:15:46 +0000 (16:15 +0100)
committerAndy Polyakov <appro@openssl.org>
Mon, 2 Feb 2015 14:29:10 +0000 (15:29 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 5da05a26f21e7c43a156b65b13a9bc968a6c78db)

test/cms-test.pl

index 1c3f00dc5b18d6f861ed189d2fb46896d72f4120..51abeef2c9cb21ba100a99a7998db9a9b306154b 100644 (file)
@@ -67,7 +67,7 @@ if ( $^O eq "VMS" && -f "OSSLX:openssl.exe" ) {
 # Make MSYS work
 elsif ( $^O eq "MSWin32" && -f "../apps/openssl.exe" ) {
     $ossl_path = "cmd /c ..\\apps\\openssl";
-    $null_path = "/dev/null";
+    $null_path = "NUL";
     $failure_code = 256;
 }
 elsif ( -f "../apps/openssl$ENV{EXE_EXT}" ) {
@@ -77,12 +77,12 @@ elsif ( -f "../apps/openssl$ENV{EXE_EXT}" ) {
 }
 elsif ( -f "..\\out32dll\\openssl.exe" ) {
     $ossl_path = "..\\out32dll\\openssl.exe";
-    $null_path = "/dev/null";
+    $null_path = "NUL";
     $failure_code = 256;
 }
 elsif ( -f "..\\out32\\openssl.exe" ) {
     $ossl_path = "..\\out32\\openssl.exe";
-    $null_path = "/dev/null";
+    $null_path = "NUL";
     $failure_code = 256;
 }
 else {