summaryrefslogtreecommitdiffstats
path: root/pym/portage/tests/bin/test_dodir.py
blob: 988b67b8d3175eb502789a76020c84382164e7c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# test_dodir.py -- Portage Unit Testing Functionality
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: test_dodir.py 6182 2007-03-06 07:35:22Z antarus $

from setup_env import *

class DoDir(BinTestCase):
	def testDoDir(self):
		dodir("usr /usr")
		exists_in_D("/usr")
		dodir("/var/lib/moocow")
		exists_in_D("/var/lib/moocow")