aboutsummaryrefslogtreecommitdiffstats
path: root/t/999-teardown.t
diff options
context:
space:
mode:
authorTeddy Wing2020-09-14 00:33:14 +0200
committerTeddy Wing2020-09-14 00:33:14 +0200
commitae4ebe19b66e856758cbd3a9ed768ae146c004cd (patch)
tree35cacf7c04f0816fa8eab62577ba11aaaa5b75a2 /t/999-teardown.t
parent3507f0c1540871ea815359b16ccf23af79bd8e30 (diff)
downloadgit-todo-ae4ebe19b66e856758cbd3a9ed768ae146c004cd.tar.bz2
Add TAP test harness
Copied with alterations from git-branch-list.
Diffstat (limited to 't/999-teardown.t')
-rw-r--r--t/999-teardown.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/999-teardown.t b/t/999-teardown.t
new file mode 100644
index 0000000..e7e8ab2
--- /dev/null
+++ b/t/999-teardown.t
@@ -0,0 +1,14 @@
+#!/usr/bin/env perl -w
+
+use strict;
+
+use Test::More;
+
+if (!-d 't-git-repo') {
+ plan skip_all => 'Testing stage already cleaned.';
+}
+
+system('rm -rf t-git-repo');
+ok !$?;
+
+done_testing;