Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test/scripts/makepkg-template-tests/keep-old-version/testcase-config
blob: b9448a085546651584ab5cf0b655fe734b5015fb (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
25
26
27
28
29
arguments+=()
expected_exitcode=0

_setup_testcase() {
	ln -sr "templates/"{perl-bla-1.2.template,perl-bla.template}
	ln -sr "templates/"{perl-module-1.1.template,perl-module.template}
}

# set IFS="" if you want trailing new lines, otherwise remove it
IFS="" read -d '' expected_output <<'EOF'
EOF

IFS="" read -d '' expected_result <<'EOF'
pkgname=foo
pkgver=1

build() {
# template start; name=perl-module; version=1.0;
echo "before bla template"
# template start; name=perl-bla; version=1.2;
bla bla
# template end;
echo "after bla template"
perl Makefile.pl
make
make install
# template end;
}
EOF