]> arthur.barton.de Git - bup.git/commitdiff
test-meta.sh: prefer the more portable test '=' to '=='.
authorThomas Klausner <wiz@NetBSD.org>
Sun, 3 Nov 2013 11:55:27 +0000 (12:55 +0100)
committerRob Browning <rlb@defaultvalue.org>
Mon, 4 Nov 2013 15:09:28 +0000 (09:09 -0600)
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
[rlb@defaultvalue.org: adjust commit message.]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
t/test-meta.sh

index bb0cdefaa8ee744ccfd75577127aa23bcc9ce481..01461119d9409c95851adf1bf045160b4f2b59a0 100755 (executable)
@@ -480,7 +480,7 @@ src/foo/3"
 
 # Test ownership restoration (when root or fakeroot).
 (
-    if [ $(t/root-status) == none ]; then
+    if [ $(t/root-status) = none ]; then
         exit 0
     fi
 
@@ -591,7 +591,7 @@ src/foo/3"
 
 # Root-only tests that require an FS with all the trimmings: ACLs,
 # Linux attr, Linux xattr, etc.
-if [ $(t/root-status) == root ]; then
+if [ $(t/root-status) = root ]; then
     (
         # Some cleanup handled in universal-cleanup() above.
         # These tests are only likely to work under Linux for now