#!/bin/bash

set -e
. "${0%/*}"/acommon

if [ "$AUTOPKGTEST_TMP" ]; then
    tname="autopkgtest"
    tmp="$AUTOPKGTEST_TMP"
    host-cleanup client
    host-cleanup server
else
    for tmp in tmp/adt-*; do
	tname=${tmp#tmp/}
	host-cleanup client
	host-cleanup server
	rm -r "$tmp"
    done
fi

echo ok.
