]> sourceware.org Git - systemtap.git/commit
testsuite/systemtap.base/perf.sh drop bashism
authorSevan Janiyan <venture37@geeklan.co.uk>
Wed, 2 Jun 2021 18:55:53 +0000 (14:55 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 2 Jun 2021 18:55:53 +0000 (14:55 -0400)
commit1288bee3175d28785a59e83041bf13206829d58e
treed116932ec99e7e08fdd8a3b1aa68f5b20a477324
parent4755bc45327b71abd48772b2fcb88eb95c445648
testsuite/systemtap.base/perf.sh drop bashism

You don't need to use == to check for equality in a test statement, a
single equals sign is sufficient. The use of double equals sign is a
bashism which doesn't always translate as intended on other shells.

[fche checked other scripts in the source tree that used [ == ]; they
are all marked /bin/bash so can stay as is.]
testsuite/systemtap.base/perf.sh
This page took 0.027546 seconds and 5 git commands to generate.