summaryrefslogtreecommitdiffstats
path: root/vms
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2013-08-28 20:07:50 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2013-08-28 20:07:50 (GMT)
commitb49b9e0273bf0f622b59bba3ae2114988a17bee6 (patch)
tree55ce60ef8f783a74de588e6b3a6844f940433131 /vms
parent9e0fcdc3970f576786332eacb1929b91701614ba (diff)
downloadhdf5-b49b9e0273bf0f622b59bba3ae2114988a17bee6.zip
hdf5-b49b9e0273bf0f622b59bba3ae2114988a17bee6.tar.gz
hdf5-b49b9e0273bf0f622b59bba3ae2114988a17bee6.tar.bz2
[svn-r24081] This script removes the "EXIT CODE" line in the end of all standard output files. OpenVMS doesn't output the
same value as Unix. So we remove the line first on Unix before running the tests. See Jira issue VMS-4. Tested on jam.
Diffstat (limited to 'vms')
-rw-r--r--vms/tools/h5diff/remove_exit.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/vms/tools/h5diff/remove_exit.sh b/vms/tools/h5diff/remove_exit.sh
new file mode 100644
index 0000000..7ccdd01
--- /dev/null
+++ b/vms/tools/h5diff/remove_exit.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# This script removes the "EXIT CODE" line in the end of all standard output files. OpenVMS doesn't output the
+# same value as Unix. So we remove the line first on Unix before running the tests. Simply run the command
+# "sh ./remove_exit.sh" under hdf5/tools/h5diff/testfiles directory.
+
+for file in $(ls *.txt)
+do
+sed '/EXIT CODE/d' $file > _$file
+mv _$file $file
+done