summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun-tests.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/run-tests.sh b/run-tests.sh
index 9e757e8..b74627c 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -146,6 +146,7 @@ newapkbuild_simple_test() {
newapkbuild -n $name $@
if [ $? -ne 0 ]; then
fail $name
+ cd "$OLDPWD"
return
fi
grep $pattern $name/APKBUILD 1>/dev/null