summaryrefslogtreecommitdiff
path: root/tests/pluseq8.test
blob: 6cc60d5d0a1af6108e3b4b7725690121eb226c93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /bin/sh

# Another `+=' test.  From Paul Berrevoets.

. $srcdir/defs || exit 1

cat > Makefile.am << 'END'
VAR = \
    one \
    two
VAR += three
END

$ACLOCAL || exit 1
$AUTOMAKE || exit 1

sed -n -e '/^VAR =.*\\$/ {
   :loop
    p
    n
    /\\$/ b loop
    p
    n
   }' Makefile.in | grep three