init.sh: avoid unwarranted test failure when using "set -x"
authorJim Meyering <meyering@redhat.com>
Thu, 22 Dec 2011 11:42:32 +0000 (12:42 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 22 Dec 2011 11:42:32 +0000 (12:42 +0100)
commited2ad641686263add14f2081d659da0cc3a76536
tree5fd42744df8862e7f7547929303ce6b6dedea452
parent56fffd23320280790f46a3c181a13dcf15361c98
init.sh: avoid unwarranted test failure when using "set -x"

* tests/init.sh (compare): Ignore nonzero exit from compare_dev_null_.
Otherwise, in a test script that uses "set -x" (like many in vc-dwim)
a use like "compare exp out" would get evoke an unconditional failure.
ChangeLog
tests/init.sh