summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/librefetch-test.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/librefetch-test.sh b/test/librefetch-test.sh
index f9041db..8018784 100644
--- a/test/librefetch-test.sh
+++ b/test/librefetch-test.sh
@@ -135,3 +135,15 @@ it_recurses() {
diff -u list.txt list-pkg.txt
gpg --quiet --verify "$tmpdir/srcdest/$srcball"{.sig,} 2>/dev/null
}
+
+it_doesnt_recurse_extra() {
+ local srcball=testpkg-1.0.tar.gz
+ cp librefetch.d/* "$tmpdir/"
+ cd "$tmpdir"
+ mv PKGBUILD{-recurse,}
+
+ :> "$tmpdir/srcdest/$srcball"
+ makepkg -g
+ empty "$tmpdir/srcdest/$srcball"
+ gpg --quiet --verify "$tmpdir/srcdest/$srcball"{.sig,} 2>/dev/null
+}