]> git.saurik.com Git - apt.git/blobdiff - test/integration/framework
Implement CacheDB for source packages in apt-ftparchive
[apt.git] / test / integration / framework
index 1c6f041b0b3a8544648064721566c12bfbdc6f4d..fae21eac407180f99d46e2d06f2847d3ac6fe056 100644 (file)
@@ -128,7 +128,10 @@ dpkgcheckbuilddeps() {
 }
 gdb() {
        echo "gdb: run »$*«"
-       APT_CONFIG=aptconfig.conf LD_LIBRARY_PATH=${LIBRARYPATH} command gdb ${BUILDDIRECTORY}/$1 --args "$@"
+       CMD="$1"
+       shift
+
+       APT_CONFIG=aptconfig.conf LD_LIBRARY_PATH=${LIBRARYPATH} command gdb ${BUILDDIRECTORY}/$CMD --args ${BUILDDIRECTORY}/$CMD "$@"
 }
 gpg() {
        # see apt-key for the whole trickery. Setup is done in setupenvironment