diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-09-29 12:33:23 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-09-29 12:33:23 +0100 |
commit | 37a8d96202cb0d5fd8465faaf402b5c68ef1458a (patch) | |
tree | 0b2feb34433f6ca715a2aecb1a170a3dd00f875c /tests | |
parent | e82f19d5c95b5a94582a85999c24410d98100099 (diff) | |
download | morph-37a8d96202cb0d5fd8465faaf402b5c68ef1458a.tar.gz |
Add "set -e" to test scripts.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/hello-chunk.script | 2 | ||||
-rwxr-xr-x | tests/hello-stratum.script | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/hello-chunk.script b/tests/hello-chunk.script index 63f3b96d..1dd99e99 100755 --- a/tests/hello-chunk.script +++ b/tests/hello-chunk.script @@ -17,6 +17,8 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +set -e + tar -C "$DATADIR" -xf tests/hello-chunk.tar.gz ./morph build "$DATADIR/hello/hello.morph" \ --chunk-repo="file://$DATADIR/hello" --chunk-ref=master diff --git a/tests/hello-stratum.script b/tests/hello-stratum.script index 6b42fb00..16ecdded 100755 --- a/tests/hello-stratum.script +++ b/tests/hello-stratum.script @@ -17,6 +17,8 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +set -e + tar -C "$DATADIR" -xf tests/hello-chunk.tar.gz ./morph build "$DATADIR/hello/hello.morph" \ --chunk-repo="file://$DATADIR/hello" --chunk-ref=master |