Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/regress Remove the sh regress tests that have just been migr...



details:   https://anonhg.NetBSD.org/src/rev/c1ff607f262d
branches:  trunk
changeset: 748329:c1ff607f262d
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Tue Oct 20 21:59:55 2009 +0000

description:
Remove the sh regress tests that have just been migrated to tests.

diffstat:

 regress/Makefile        |   4 ++--
 regress/bin/Makefile    |   5 -----
 regress/bin/sh/Makefile |  12 ------------
 regress/bin/sh/exit1    |   7 -------
 regress/bin/sh/var1     |   8 --------
 regress/bin/sh/waitjob  |   8 --------
 6 files changed, 2 insertions(+), 42 deletions(-)

diffs (72 lines):

diff -r 83ce95ebb8a9 -r c1ff607f262d regress/Makefile
--- a/regress/Makefile  Tue Oct 20 21:58:35 2009 +0000
+++ b/regress/Makefile  Tue Oct 20 21:59:55 2009 +0000
@@ -1,6 +1,6 @@
-#      $NetBSD: Makefile,v 1.16 2008/12/21 00:24:06 christos Exp $
+#      $NetBSD: Makefile,v 1.17 2009/10/20 21:59:55 jmmv Exp $
 
 # missing: libexec sbin usr.sbin share
-SUBDIR+= bin gnu include lib libexec sys usr.bin
+SUBDIR+= gnu include lib libexec sys usr.bin
 
 .include <bsd.subdir.mk>
diff -r 83ce95ebb8a9 -r c1ff607f262d regress/bin/Makefile
--- a/regress/bin/Makefile      Tue Oct 20 21:58:35 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-# $NetBSD: Makefile,v 1.10 2008/12/21 00:24:07 christos Exp $
-
-SUBDIR+= sh
-
-.include <bsd.subdir.mk>
diff -r 83ce95ebb8a9 -r c1ff607f262d regress/bin/sh/Makefile
--- a/regress/bin/sh/Makefile   Tue Oct 20 21:58:35 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-# $NetBSD: Makefile,v 1.13 2008/12/21 00:24:07 christos Exp $
-
-.include <bsd.sys.mk>
-TESTS != echo [a-z]*
-
-regress:
-.      for i in ${TESTS}
-               ${.CURDIR}/$i
-.      endfor
-
-.include <bsd.subdir.mk>
-
diff -r 83ce95ebb8a9 -r c1ff607f262d regress/bin/sh/exit1
--- a/regress/bin/sh/exit1      Tue Oct 20 21:58:35 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-#!/bin/sh
-x=`( trap 'echo exiting' EXIT; /usr/bin/true )`
-if [ -z "$x" ]
-then
-       echo failed
-       exit 1
-fi
diff -r 83ce95ebb8a9 -r c1ff607f262d regress/bin/sh/var1
--- a/regress/bin/sh/var1       Tue Oct 20 21:58:35 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-line='/foo/bar/*/baz'
-if [ "/foo/bar/" != ${line%%\**}"" ]
-then
-       echo broken
-       exit 1
-fi
diff -r 83ce95ebb8a9 -r c1ff607f262d regress/bin/sh/waitjob
--- a/regress/bin/sh/waitjob    Tue Oct 20 21:58:35 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-#!/bin/sh
-sleep 3 &
-sleep 1 &
-
-wait %1
-[ $? = 0 ] || echo fail1
-wait %2
-[ $? = 0 ] || echo fail2



Home | Main Index | Thread Index | Old Index