Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2015 10:16:22 +0000 (UTC)
From:      Jeremie Le Hen <jlh@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r276909 - in head/usr.bin/sed/tests: . regress.multitest.out
Message-ID:  <201501101016.t0AAGMMd053418@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jlh
Date: Sat Jan 10 10:16:22 2015
New Revision: 276909
URL: https://svnweb.freebsd.org/changeset/base/276909

Log:
  Add a regression test for PR 192108.
  
  I won't go through the hassle of MFCing it since I expect all changes to go
  first through HEAD anyway.
  
  PR:		192108

Added:
  head/usr.bin/sed/tests/regress.multitest.out/2.23   (contents, props changed)
Modified:
  head/usr.bin/sed/tests/multi_test.sh

Modified: head/usr.bin/sed/tests/multi_test.sh
==============================================================================
--- head/usr.bin/sed/tests/multi_test.sh	Sat Jan 10 09:22:17 2015	(r276908)
+++ head/usr.bin/sed/tests/multi_test.sh	Sat Jan 10 10:16:22 2015	(r276909)
@@ -51,7 +51,7 @@ main()
 	awk 'END { for (i = 1; i < 15; i++) print "l1_" i}' </dev/null >lines1
 	awk 'END { for (i = 1; i < 10; i++) print "l2_" i}' </dev/null >lines2
 
-	echo "1..129"
+	echo "1..130"
 
 	exec 4>&1 5>&2
 	tests
@@ -181,6 +181,8 @@ hello' /dev/null
 	mark '2.20' ; $SED -n '/l1_7/,3p' lines1 lines2
 	mark '2.21' ; $SED -n '13,+4p' lines1 lines2
 	mark '2.22' ; $SED -n '/l1_6/,+2p' lines1 lines2
+	# For PR bin/192108
+	mark '2.23'; $SED -n '12,+1p' lines1
 }
 
 test_group()

Added: head/usr.bin/sed/tests/regress.multitest.out/2.23
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.bin/sed/tests/regress.multitest.out/2.23	Sat Jan 10 10:16:22 2015	(r276909)
@@ -0,0 +1,2 @@
+l1_12
+l1_13



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501101016.t0AAGMMd053418>