]> git.saurik.com Git - apt.git/blobdiff - test/integration/framework
optional write aptwebserver log to client specific files
[apt.git] / test / integration / framework
index 9a114ae69210118ce9613804d1469a34edaecfa9..05c8fcd2aeeaa4ce58edfa277295688e90f9fb1a 100644 (file)
@@ -1305,7 +1305,7 @@ changetowebserver() {
        if test -x "${APTTESTHELPERSBINDIR}/aptwebserver"; then
                cd aptarchive
                local LOG="webserver.log"
-               if ! aptwebserver --port 0 -o aptwebserver::fork=1 -o aptwebserver::portfile='aptwebserver.port' "$@" >$LOG 2>&1 ; then
+               if ! aptwebserver --port 0 -o aptwebserver::fork=1 -o aptwebserver::portfile='aptwebserver.port' -o aptwebserver::logfiles="$(readlink -f .)/$LOG" "$@" >$LOG 2>&1 ; then
                        cat "$LOG"
                        false
                fi