summaryrefslogtreecommitdiffstats
path: root/pym/portage/tests/bin/test_dobin.py
blob: b9e9bbb1a834c0cad5e27e8b1b1096f75ed94c8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# test_dobin.py -- Portage Unit Testing Functionality
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

from portage.tests.bin.setup_env import BinTestCase, dobin, xexists_in_D

class DoBin(BinTestCase):
	def testDoBin(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")