summaryrefslogtreecommitdiff
path: root/test/librefetch-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/librefetch-test.sh')
-rw-r--r--test/librefetch-test.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/librefetch-test.sh b/test/librefetch-test.sh
index 8018784..fc92079 100644
--- a/test/librefetch-test.sh
+++ b/test/librefetch-test.sh
@@ -76,11 +76,15 @@ it_runs_with_mksource() {
touch src-libre/foo/file
# Run librefetch
- makepkg -g
+ makepkg -g >& log.txt
# Verify that no temporary files were left around
not test -e librefetch.*
+ # Verify that there were no warnings about missing backup=()
+ # files
+ not grep -F etc/testpkg.conf log.txt
+
# Verify:
# - The srcball was created...
# - ... and is in the correct directory