summaryrefslogtreecommitdiff
path: root/Build/source/utils/autosp/autosp-src/rebar.test
blob: 2e70b0b7f1ab1f256090f4ffc155b89558ba98e6 (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 (C) 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