]> git.saurik.com Git - apt.git/commitdiff
do the right thing(TM) even if the (unfinished) testcase is named
authorDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 2 Sep 2010 13:24:44 +0000 (15:24 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 2 Sep 2010 13:24:44 +0000 (15:24 +0200)
skip-* instead of test-* to avoid calling him with run-tests

test/integration/framework

index e555635447ad229323c7ff57dfaecb900873fa52..d832bedbef5010bfdd3b3f23879a8a0d69a573da 100644 (file)
@@ -91,7 +91,7 @@ setupenvironment() {
        mkdir -p etc/apt/apt.conf.d etc/apt/sources.list.d etc/apt/trusted.gpg.d etc/apt/preferences.d
        mkdir -p var/cache var/lib var/log
        mkdir -p var/lib/dpkg/info var/lib/dpkg/updates var/lib/dpkg/triggers
-       local STATUSFILE=$(echo "$(basename $0)" | sed 's/^test-/status-/')
+       local STATUSFILE=$(echo "$(basename $0)" | sed -e 's/^test-/status-/' -e 's/^skip-/status-/')
        if [ -f "${TESTDIR}/${STATUSFILE}" ]; then
                cp "${TESTDIR}/${STATUSFILE}" var/lib/dpkg/status
        else
@@ -101,7 +101,7 @@ setupenvironment() {
        mkdir -p usr/lib/apt
        ln -s ${BUILDDIRECTORY}/methods usr/lib/apt/methods
        cd ..
-       local PACKAGESFILE=$(echo "$(basename $0)" | sed 's/^test-/Packages-/')
+       local PACKAGESFILE=$(echo "$(basename $0)" | sed -e 's/^test-/Packages-/' -e 's/^skip-/Packages-/')
        if [ -f "${TESTDIR}/${PACKAGESFILE}" ]; then
                cp "${TESTDIR}/${PACKAGESFILE}" aptarchive/Packages
        else