Verified Commit 7e891ec6 authored by Max Rees's avatar Max Rees

tests: cd "$OLDPWD" even on failure in newapkbuild_simple_test

parent f02eb097
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment