Commit 6e96d134 authored by Shane Snyder's avatar Shane Snyder
Browse files

regression tests now catch LDPRELOAD symbol errors

parent b4cc833c
......@@ -45,6 +45,17 @@ fi
# set up environment for tests according to platform
# in case of using LD_PRELOAD, it is possible errors with Darshan symbols
# (e..g, forgetting to resolve a symbol Darshan wraps uses using dlsym)
# can cause arbitrary binaries to crash. We check the output of the true
# command to successfully identify failures like this and exit
true_out=`/bin/true 2>&1`
if [ $? -ne 0 -o -n true_out ]; then
echo $true_out
echo "environment setup failed"
exit 1
for i in `ls $DARSHAN_TESTDIR/test-cases/*.sh`; do
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment