summaryrefslogtreecommitdiff
path: root/Build/source/utils/autosp/autosp-src/rebar.test
blob: 47193da22c31c4a00b213f2ae6978dfb29de664b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh -vx
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2015 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

echo && echo "*** rebar --help"
./rebar --help || exit 1

echo && echo "*** rebar --version"
./rebar --version || exit 1

echo && echo "*** rebar -dd (missing infile)"
./rebar -dd && exit 1

echo && echo "*** rebar quod2.aspc quod3.aspc"
cp tests/quod2.aspc .
rm -f quod3.aspc
./rebar quod2.aspc quod3.aspc || exit 1

echo && echo "*** diff quod3.aspc tests/quod3.aspc"
diff quod3.aspc tests/quod3.aspc || exit 1