diff options
Diffstat (limited to 'tests/atom_explode/dotest')
-rwxr-xr-x | tests/atom_explode/dotest | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/atom_explode/dotest b/tests/atom_explode/dotest index e911ab5..3a45fc1 100755 --- a/tests/atom_explode/dotest +++ b/tests/atom_explode/dotest @@ -3,7 +3,9 @@ . ../init.sh || exit 1 PORTDIR=$(DEBUG=: q -Ch 2>&1 | grep ^PORTDIR | awk '{print $NF}') -if [[ -d "${PORTDIR}"/metadata/md5-cache ]] ; then +if [[ -d "${PORTDIR}"/metadata/md5-cache ]] && + "$s"/atom-explode.py < /dev/null >& /dev/null ; +then pushd "${PORTDIR}"/metadata/md5-cache >/dev/null || exit $? if [[ $1 == -v ]] ; then |