public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-projects commit in portage-utils/tests/mkdir: dotest
@ 2011-12-22 19:30 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2011-12-22 19:30 UTC (permalink / raw
  To: gentoo-commits

vapier      11/12/22 19:30:46

  Modified:             dotest
  Log:
  redo test output to get info on a per-test basis

Revision  Changes    Path
1.3                  portage-utils/tests/mkdir/dotest

file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/mkdir/dotest?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/mkdir/dotest?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/tests/mkdir/dotest?r1=1.2&r2=1.3

Index: dotest
===================================================================
RCS file: /var/cvsroot/gentoo-projects/portage-utils/tests/mkdir/dotest,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- dotest	12 Dec 2011 21:04:24 -0000	1.2
+++ dotest	22 Dec 2011 19:30:46 -0000	1.3
@@ -10,6 +10,7 @@
 # check mkdir
 m="${_m} m"
 for d in a a/ a/b a/b/ a/b/c a/b/c/ ; do
+	_d=${d}
 	$m ${d}
 
 	rmdir ${d}
@@ -18,9 +19,12 @@
 		d=${d%/*}
 		rmdir ${d}
 	done
+
+	tpass "empty ${_d}"
 done
 
 for d in a a/ a/b a/b/ a/b/c a/b/c/ ; do
+	_d=${d}
 	mkdir -p ${d}
 	$m ${d}
 
@@ -30,6 +34,8 @@
 		d=${d%/*}
 		rmdir ${d}
 	done
+
+	tpass "exist ${_d}"
 done
 
 # check rm_rf
@@ -38,16 +44,19 @@
 mkdir -p a/b/c/d
 $m a/b/
 rmdir a
+tpass "rm a/b/"
 
 mkdir -p a/b/c/d
 $m a/b
 rmdir a
+tpass "rm a/b"
 
 mkdir -p a/b/c/d
 cd a
 $m . || : # ignore EBUSY failure
 cd ..
 rmdir a
+tpass "rm ."
 
 mkdir -p a/b/c/d
 ln -s . a/b/d
@@ -58,7 +67,8 @@
 ln -s ../f a/b/c/f
 $m a
 [ ! -e a ]
+tpass "rm a tree"
 
 cleantmpdir
 
-pass
+end






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-22 19:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-22 19:30 [gentoo-commits] gentoo-projects commit in portage-utils/tests/mkdir: dotest Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox