]> git.saurik.com Git - apt.git/blobdiff - test/libapt/run-tests
update the testcase to reflect that native is always on top if
[apt.git] / test / libapt / run-tests
index f5fc0344642b00b2159d953ce00503431d6817a3..4b71c2097a939119269a03f756dfa6a53f88f6af 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 set -e
 
-local DIR=$(readlink -f $(dirname $0))
+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)
@@ -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