Mercurial > hg > toybox
comparison scripts/test.sh @ 1088:4948a942de49 draft
Teach scripts/test.sh to call scripts/single.sh.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 15 Oct 2013 00:57:39 -0500 |
parents | b9ea00fffee5 |
children | 55a533fa5039 |
comparison
equal
deleted
inserted
replaced
1087:b73a61542297 | 1088:4948a942de49 |
---|---|
5 rm -rf testdir | 5 rm -rf testdir |
6 mkdir -p testdir | 6 mkdir -p testdir |
7 | 7 |
8 if [ -z "$TEST_HOST" ] | 8 if [ -z "$TEST_HOST" ] |
9 then | 9 then |
10 make install_flat PREFIX=testdir || exit 1 | 10 if [ $# -ne 0 ] |
11 then | |
12 PREFIX=testdir/ scripts/single.sh "$@" || exit 1 | |
13 else | |
14 make install_flat PREFIX=testdir || exit 1 | |
15 fi | |
11 fi | 16 fi |
12 | 17 |
13 cd testdir | 18 cd testdir |
14 PATH="$(pwd):$PATH" | 19 PATH="$(pwd):$PATH" |
15 | 20 |