]> arthur.barton.de Git - bup.git/commitdiff
t/test-meta.sh: replace 'diff -u5' with 'diff -U5'.
authorAvery Pennarun <apenwarr@gmail.com>
Mon, 28 Feb 2011 09:29:40 +0000 (01:29 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Mon, 28 Feb 2011 09:29:40 +0000 (01:29 -0800)
The old-style option is obsolete.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
t/test-meta.sh

index 1b99bf50aed951a308b583ae584a2f4d3f3d4ea5..3d835a24830c67d4d44cc752a9e48038c7631efc 100755 (executable)
@@ -61,14 +61,14 @@ test-src-create-extract()
     WVPASS bup meta --extract --file ../src.meta
     WVPASS test -d src
     (cd src && genstat >../../src-restore-stat) || WVFAIL
-    WVPASS diff -u5 ../src-stat ../src-restore-stat
+    WVPASS diff -U5 ../src-stat ../src-restore-stat
     # Test start/finish extract.
     force-delete src
     WVPASS bup meta --start-extract --file ../src.meta
     WVPASS test -d src
     WVPASS bup meta --finish-extract --file ../src.meta
     (cd src && genstat >../../src-restore-stat) || WVFAIL
-    WVPASS diff -u5 ../src-stat ../src-restore-stat
+    WVPASS diff -U5 ../src-stat ../src-restore-stat
   )
 }