summaryrefslogtreecommitdiffstats
path: root/pym/portage/tests/bin/test_dobin.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/tests/bin/test_dobin.py')
-rw-r--r--pym/portage/tests/bin/test_dobin.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/pym/portage/tests/bin/test_dobin.py b/pym/portage/tests/bin/test_dobin.py
new file mode 100644
index 000000000..074c8944e
--- /dev/null
+++ b/pym/portage/tests/bin/test_dobin.py
@@ -0,0 +1,13 @@
+# test_dobin.py -- Portage Unit Testing Functionality
+# Copyright 2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id: test_dep_getcpv.py 6182 2007-03-06 07:35:22Z antarus $
+
+from setup_env import *
+
+class DoBin(BinTestCase):
+ def testBasic(self):
+ dobin("does-not-exist", 1)
+ xexists_in_D("does-not-exist")
+ xexists_in_D("/bin/does-not-exist")
+ xexists_in_D("/usr/bin/does-not-exist")