tests: run-nm-self.sh use test = not == for string comparisons.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
diff --git a/tests/run-nm-self.sh b/tests/run-nm-self.sh
index dac8e27..6a31afc 100755
--- a/tests/run-nm-self.sh
+++ b/tests/run-nm-self.sh
@@ -27,7 +27,7 @@
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