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

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")