summaryrefslogtreecommitdiffstats
path: root/tests/run-nm-self.sh
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2014-04-23 09:54:30 +0200
committerMark Wielaard <[email protected]>2014-04-23 20:27:23 +0200
commitfe4b5fd34e25117026f6f96e392009f6f42e3dcc (patch)
tree455bd3c765a39e8a54ccf0bc458c8e23fe00ee42 /tests/run-nm-self.sh
parent02cefdaa6429e620d6457fdb3ad9934f194c5a93 (diff)
tests: run-nm-self.sh use test = not == for string comparisons.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/run-nm-self.sh')
-rwxr-xr-xtests/run-nm-self.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-nm-self.sh b/tests/run-nm-self.sh
index dac8e27b..6a31afcf 100755
--- a/tests/run-nm-self.sh
+++ b/tests/run-nm-self.sh
@@ -27,7 +27,7 @@ for what_arg in --debug-syms --defined-only --dynamic --extern-only; do
for out_arg in --numeric-sort --no-sort --reverse-sort; do
for self_file in $ET_REL $ET_EXEC $ET_DYN; do
# --dynamic doesn't make sense for ET_REL.
- if ! test "$what_arg" == "--dynamic" -a "$self_file" == "$ET_REL"; then
+ if ! test "$what_arg" = "--dynamic" -a "$self_file" = "$ET_REL"; then
testrun ${abs_top_builddir}/src/nm $what_arg $format_arg $out_arg $self_file > /dev/null
fi
done