aboutsummaryrefslogtreecommitdiffstats
path: root/vms/vmstest.com
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-02-14 13:22:51 +0200
committerArnold D. Robbins <arnold@skeeve.com>2014-02-14 13:22:51 +0200
commita6131306dd49537de45afdfdc6d4ad2dcac7655b (patch)
tree20d9dab2f13c21b7134f284b6650c6430fb4243b /vms/vmstest.com
parent4311907208592a2c617251a5cd3792d97f94be6a (diff)
downloadegawk-a6131306dd49537de45afdfdc6d4ad2dcac7655b.tar.gz
egawk-a6131306dd49537de45afdfdc6d4ad2dcac7655b.tar.bz2
egawk-a6131306dd49537de45afdfdc6d4ad2dcac7655b.zip
VMS updates.
Diffstat (limited to 'vms/vmstest.com')
-rw-r--r--vms/vmstest.com11
1 files changed, 10 insertions, 1 deletions
diff --git a/vms/vmstest.com b/vms/vmstest.com
index 4b5e2d5c..30bdbf22 100644
--- a/vms/vmstest.com
+++ b/vms/vmstest.com
@@ -606,6 +606,14 @@ $ ! this test could fail on slow machines or on a second boundary,
$ ! so if it does, double check the actual results
$ ! This test needs SYS$TIMEZONE_NAME and SYS$TIMEZONE_RULE
$ ! to be properly defined.
+$ ! This test now needs GNV Corutils to work
+$ date_bin = "gnv$gnu:[bin]gnv$date.exe"
+$ if f$search(date_bin) .eqs. ""
+$ then
+$ echo "''test' skipped"
+$ return
+$ endif
+$ date := $'date_bin'
$!! date | gawk -v "OUTPUT"=_strftime.tmp -f strftime.awk
$ now = f$time()
$ wkd = f$extract(0,3,f$cvtime(now,,"WEEKDAY"))
@@ -1902,7 +1910,8 @@ $ then
$ call exit_code '$status' _'test'.tmp
$ write sys$output _'test'.tmp
$ else
-$ rm _'test'.tmp;*,_'test'.;*
+$ if f$search("_''test'.tmp") .nes. "" then rm _'test'.tmp;*
+$ if f$search("_''test'.") .nes. "" then rm _'test'.;*
$ endif
$ set On
$ return