X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=test%2Ftestenc.com;h=75acd6f07fa0bd44aa7ff7052633b6ab4135f0ab;hp=4a46ce9f062ad798a6b1be3f3cfd48f475224e5d;hb=7794c355eadd49d2fc1670b1dc8ac19f1e93c26f;hpb=006c7c6bb1fbf13295a531bf5ee55e8e6fb0a501 diff --git a/test/testenc.com b/test/testenc.com index 4a46ce9f06..75acd6f07f 100644 --- a/test/testenc.com +++ b/test/testenc.com @@ -1,13 +1,16 @@ $! TESTENC.COM -- Test encoding and decoding $ -$ __arch := VAX +$ __arch = "VAX" $ if f$getsyi("cpu") .ge. 128 then - - __arch := f$edit( f$getsyi( "ARCH_NAME"), "UPCASE") -$ if __arch .eqs. "" then __arch := UNK + __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE") +$ if __arch .eqs. "" then __arch = "UNK" +$! +$ if (p1 .eqs. 64) then __arch = __arch+ "_64" $ -$ testsrc := makefile. -$ test := p.txt -$ cmd := mcr 'exe_dir'openssl +$ exe_dir = "sys$disk:[-.''__arch'.exe.apps]" +$ testsrc = "makefile." +$ test = "p.txt" +$ cmd = "mcr ''exe_dir'openssl" $ $ if f$search(test) .nes. "" then delete 'test';* $ convert/fdl=sys$input: 'testsrc' 'test'