aboutsummaryrefslogtreecommitdiffstats
path: root/t/lib.t
diff options
context:
space:
mode:
Diffstat (limited to 't/lib.t')
-rw-r--r--t/lib.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/lib.t b/t/lib.t
index 657658e..89f4bb7 100644
--- a/t/lib.t
+++ b/t/lib.t
@@ -13,9 +13,11 @@ BEGIN {
deliver => "t/delivert $tmpdir",
domains => ['spamcat.example.com', 'spamcat2.example.com']);
- system "rm -rf $tmpdir";
+ system("rm -rf $tmpdir") == 0
+ or die "Couldn't remove ‘$tmpdir’: $!\n";
mkdir $tmpdir;
- system "/usr/local/bin/sqlite3 $conf{dbpath} < config/create-tables.sql";
+ system("/usr/local/bin/sqlite3 $conf{dbpath} < config/create-tables.sql") == 0
+ or die "Couldn't create ‘$conf{dbpath}’: $!\n";
}
END {