summaryrefslogtreecommitdiffstats
path: root/bin/output_filter.sh
diff options
context:
space:
mode:
authorlrknox <lrknox>2017-03-15 17:49:19 (GMT)
committerlrknox <lrknox>2017-03-15 17:49:19 (GMT)
commit98567db19290dc07cc86efae720b0dc457ae9f65 (patch)
tree6b16f1d271bbc6c7a336d882c0e0db0f404dd3dc /bin/output_filter.sh
parentbf69edf565e4894b01afbd1efdedbc38eb18114a (diff)
downloadhdf5-98567db19290dc07cc86efae720b0dc457ae9f65.zip
hdf5-98567db19290dc07cc86efae720b0dc457ae9f65.tar.gz
hdf5-98567db19290dc07cc86efae720b0dc457ae9f65.tar.bz2
output_filter.sh:
Comment added to address HDFFV-8270. The sample ontput in the file's comments are not up-to-date with the scripts in the file that remove output unique to certain systems when running test scripts. This output doesn't match expected output files for the tests, causing them to fail. Ther output_filter.sh file removes such output. Currently we don't have access to these systems to update the comments. testflushrefresh.sh.in: flushrefresh and other SWMR tests have been failing occasionally but regularly since bringing them to the develop branch. The logs and debugging point to unexpected deletion of signal files as the point of failure, and John Mainzer suggests that two such tests running simultaneously in the same directory may lead to the operating system deleting the other test's signal file. Running the flushrefresh test in its own directory seems to solve the problem.
Diffstat (limited to 'bin/output_filter.sh')
-rw-r--r--bin/output_filter.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/output_filter.sh b/bin/output_filter.sh
index 58f1c48..35af819 100644
--- a/bin/output_filter.sh
+++ b/bin/output_filter.sh
@@ -17,6 +17,21 @@
# Created Date: 2011/5/3
+# Comment added to address HDFFV-8270:
+# As I understand it, the purpose of this file is to remove extraneous messages
+# that appear in stdout and stderr on some machines that have been tested outside
+# of the HDF Group realm. The purpose of this script is to filter those
+# extraneous messages from stdout and stderr so that when the output files are
+# compared to the expected output, the extra messages will not cause failures in
+# the tests. The system messages in the comments below are out of date, meaning
+# I suppose that while the script code to filter messages on the system was
+# correct correct when last used, the output in the comments doesn't match the
+# script code that follows. I don't currently have access to any of these
+# systems to see the current output and the effect of the script code. If using
+# this file in the future, please update the comments to match the scripts in use.
+# Larry Knox 2017/3/15
+
+
# Some systems will dump some messages to stdout for various reasons.
# Remove them from the stdout result file.
# $1 is the file name of the file to be filtered.