aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/testcurl.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index b59c035e3..ac569fe8f 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -459,5 +459,10 @@ if ($gnulikebuild) {
print "TESTDONE: 1 tests out of 0 (dummy message)\n"; # dummy message to feign success
}
+# simple way to create a tarball just before the build is deleted.
+if (-f '../mktarball') {
+ system('../mktarball');
+}
+
# mydie to cleanup
mydie "ending nicely";