]> wimlib.net Git - wimlib/commitdiff
tests fixes
authorEric Biggers <ebiggers3@gmail.com>
Thu, 22 Nov 2012 06:31:19 +0000 (00:31 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Thu, 22 Nov 2012 06:31:19 +0000 (00:31 -0600)
tests/test-imagex
tests/tests-common.sh

index b6ed7694b37da8cc79c349f15e2754e15e6a1f8a..94b697fdce5d40c68d94cd6ceb7103858193a398 100755 (executable)
@@ -486,7 +486,7 @@ fi
 # Test exporting an image to another WIM, then applying it.
 # We try with 5 different combinations of compression types to make sure we go
 # through all paths in the resource-handling code.
 # Test exporting an image to another WIM, then applying it.
 # We try with 5 different combinations of compression types to make sure we go
 # through all paths in the resource-handling code.
-for i in `seq 1 3`; do
+for i in 1 2 3 4 5; do
        case $i in
        1)
                cflag1="--compress=none";
        case $i in
        1)
                cflag1="--compress=none";
index c80dbefff38c75792a897fb48cf0773eeb10f2fd..59c28c6334bbc122d9b44a45d4fada56de14b45e 100644 (file)
@@ -1,7 +1,7 @@
 srcdir="${srcdir:-.}/.."
 srcdir="$(cd $srcdir; pwd)"
 
 srcdir="${srcdir:-.}/.."
 srcdir="$(cd $srcdir; pwd)"
 
-if stat -c %i . ; then
+if stat -c %i . &> /dev/null ; then
        BSD_STAT=0
 else
        BSD_STAT=1
        BSD_STAT=0
 else
        BSD_STAT=1