]> wimlib.net Git - wimlib/blobdiff - tests/test-imagex
Fix sentence
[wimlib] / tests / test-imagex
index b6ed7694b37da8cc79c349f15e2754e15e6a1f8a..25ed8e037915973b0e11b1bf1b0d3a06dd870af0 100755 (executable)
@@ -5,7 +5,9 @@
 
 set -e
 cd tests
-. tests-common.sh
+srcdir="${srcdir:-.}/.."
+srcdir="$(cd $srcdir; pwd)"
+. "$srcdir/tests/tests-common.sh"
 
 imagex() {
        echo "imagex $@"
@@ -486,7 +488,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.
-for i in `seq 1 3`; do
+for i in 1 2 3 4 5; do
        case $i in
        1)
                cflag1="--compress=none";