]> git.saurik.com Git - apt.git/blobdiff - test/libapt/run-tests
merged from lp:~donkult/apt/sid
[apt.git] / test / libapt / run-tests
index 0f55f7386b1f9d2c781a6b5d3e4178f8bd42abae..a66de386d1cce88ef8d1eee2f35b2013ee76192f 100755 (executable)
@@ -4,7 +4,7 @@ set -e
 local DIR=$(readlink -f $(dirname $0))
 echo "Compiling the tests …"
 test -d "$DIR/../../build/obj/test/libapt/" || mkdir -p "$DIR/../../build/obj/test/libapt/"
-$(cd $DIR && make)
+(cd $DIR && make)
 echo "Running all testcases …"
 LDPATH="$DIR/../../build/bin"
 EXT="_libapt_test"
@@ -39,6 +39,11 @@ do
                        "${tmppath}/invälid.conf" \
                        "${tmppath}/invalíd" \
                        "${tmppath}/01invalíd"
+               mkdir "${tmppath}/invaliddir" \
+                       "${tmppath}/directory.conf" \
+                       "${tmppath}/directory.list" \
+                       "${tmppath}/directory.wron" \
+                       "${tmppath}/directory.list.disabled"
                ln -s "${tmppath}/anormalfile" "${tmppath}/linkedfile.list"
                ln -s "${tmppath}/non-existing-file" "${tmppath}/brokenlink.list"
        elif [ $name = "getLanguages${EXT}" ]; then