Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jakob Luettgau
darshan
Commits
ce53fdd5
Commit
ce53fdd5
authored
Mar 18, 2016
by
Shane Snyder
Browse files
bug fix in regression test condition check
parent
f139502f
Changes
1
Hide whitespace changes
Inline
Side-by-side
darshan-test/regression/run-all.sh
View file @
ce53fdd5
...
...
@@ -46,12 +46,12 @@ fi
source
$DARSHAN_TESTDIR
/
$DARSHAN_PLATFORM
/env.sh
# 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
# (e..g, forgetting to resolve a symbol Darshan wraps 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
if
[
$?
-ne
0
-o
-n
"
$
true_out
"
]
;
then
echo
-n
$true_out
>
tmp
echo
"environment setup failed"
exit
1
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment