diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2013-08-28 20:07:50 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2013-08-28 20:07:50 (GMT) |
commit | b49b9e0273bf0f622b59bba3ae2114988a17bee6 (patch) | |
tree | 55ce60ef8f783a74de588e6b3a6844f940433131 | |
parent | 9e0fcdc3970f576786332eacb1929b91701614ba (diff) | |
download | hdf5-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.
-rw-r--r-- | vms/tools/h5diff/remove_exit.sh | 11 |
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 |