aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/resolver_TEST_promote_binaries_cleanup.sh
diff options
context:
space:
mode:
authorAvatar Dimitry Ishenko <dimitry.ishenko@gmail.com> 2014-03-15 22:54:07 -0400
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2014-03-21 15:36:44 +0000
commit370cac9e401af4d9038e174f7002a93218525038 (patch)
tree99bb0e2e9a7e3956daef03ea75baa36045f4e53d /paludis/resolver/resolver_TEST_promote_binaries_cleanup.sh
parent1050ee7d3bf8cd37663c8506f50e19e2786987ac (diff)
downloadpaludis-370cac9e401af4d9038e174f7002a93218525038.tar.gz
paludis-370cac9e401af4d9038e174f7002a93218525038.tar.xz
Tests for PromoteBinariesHelper
Diffstat (limited to 'paludis/resolver/resolver_TEST_promote_binaries_cleanup.sh')
-rwxr-xr-xpaludis/resolver/resolver_TEST_promote_binaries_cleanup.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/paludis/resolver/resolver_TEST_promote_binaries_cleanup.sh b/paludis/resolver/resolver_TEST_promote_binaries_cleanup.sh
new file mode 100755
index 000000000..06ed75d29
--- /dev/null
+++ b/paludis/resolver/resolver_TEST_promote_binaries_cleanup.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# vim: set ft=sh sw=4 sts=4 et :
+
+if [ -d resolver_TEST_promote_binaries_dir ] ; then
+ rm -fr resolver_TEST_promote_binaries_dir
+else
+ true
+fi
+