Deleted Added
full compact
multi_test.sh (201490) multi_test.sh (263227)
1#!/bin/sh -
2#
3# Copyright (c) 1992 Diomidis Spinellis.
4# Copyright (c) 1992, 1993
5# The Regents of the University of California. All rights reserved.
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions

--- 16 unchanged lines hidden (view full) ---

25# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29# SUCH DAMAGE.
30#
31# @(#)sed.test 8.1 (Berkeley) 6/6/93
32#
1#!/bin/sh -
2#
3# Copyright (c) 1992 Diomidis Spinellis.
4# Copyright (c) 1992, 1993
5# The Regents of the University of California. All rights reserved.
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions

--- 16 unchanged lines hidden (view full) ---

25# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29# SUCH DAMAGE.
30#
31# @(#)sed.test 8.1 (Berkeley) 6/6/93
32#
33# $FreeBSD: head/tools/regression/usr.bin/sed/multitest.t 201490 2010-01-04 11:00:12Z obrien $
33# $FreeBSD: head/usr.bin/sed/tests/multi_test.sh 263227 2014-03-16 08:04:06Z jmmv $
34#
35
36# sed Regression Tests
37#
38# The directory regress.test.out contains the expected test results
39#
40# These are the regression tests mostly created during the development
41# of the BSD sed. Each test should have a unique mark name, which is
42# used for naming the corresponding file in regress.multitest.out.
43
34#
35
36# sed Regression Tests
37#
38# The directory regress.test.out contains the expected test results
39#
40# These are the regression tests mostly created during the development
41# of the BSD sed. Each test should have a unique mark name, which is
42# used for naming the corresponding file in regress.multitest.out.
43
44SRCDIR=$(dirname $0)
45
44main()
45{
46main()
47{
46 cd `dirname $0`
47 REGRESS=regress.multitest.out
48 REGRESS=${SRCDIR}/regress.multitest.out
48 DICT=/usr/share/dict/words
49
50 awk 'END { for (i = 1; i < 15; i++) print "l1_" i}' </dev/null >lines1
51 awk 'END { for (i = 1; i < 10; i++) print "l2_" i}' </dev/null >lines2
52
53 echo "1..129"
54
55 exec 4>&1 5>&2

--- 438 unchanged lines hidden ---
49 DICT=/usr/share/dict/words
50
51 awk 'END { for (i = 1; i < 15; i++) print "l1_" i}' </dev/null >lines1
52 awk 'END { for (i = 1; i < 10; i++) print "l2_" i}' </dev/null >lines2
53
54 echo "1..129"
55
56 exec 4>&1 5>&2

--- 438 unchanged lines hidden ---