Debian Codegraph @

utils/autosp/autosp-src/rebar.test

raw
1 #! /bin/sh -vx
2
3 # Copyright (C) 2015 Peter Breitenlohner <[email protected]>
4 # You may freely use, modify and/or distribute this file.
5
6 echo && echo "*** rebar --help"
7 ./rebar --help || exit 1
8
9 echo && echo "*** rebar --version"
10 ./rebar --version || exit 1
11
12 echo && echo "*** rebar -dd (missing infile)"
13 ./rebar -dd && exit 1
14
15 echo && echo "*** rebar quod2.aspc quod3.aspc"
16 cp tests/quod2.aspc .
17 rm -f quod3.aspc
18 ./rebar quod2.aspc quod3.aspc || exit 1
19
20 echo && echo "*** diff quod3.aspc tests/quod3.aspc"
21 diff quod3.aspc tests/quod3.aspc || exit 1