tests: abort if setup fails!

Otherwise the user's auth file might get removed.
This commit is contained in:
Daniel Hahler committed 2015-01-25 19:48:56 +01:00
1 parent e07a47f566
commit 5cb689875e
7 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
Tests for internal stack handling.
$ source $TESTDIR/setup.sh
$ source $TESTDIR/setup.sh || return 1
Non-existing entries are allowed and handled without error.
+1 -1
View File
@@ -1,6 +1,6 @@
Tests for internal util methods.
$ source $TESTDIR/setup.sh
$ source $TESTDIR/setup.sh || return 1
Non-existing entries are allowed and handled without error.
+1 -1
View File
@@ -1,4 +1,4 @@
$ source $TESTDIR/setup.sh
$ source $TESTDIR/setup.sh || return 1
Lets set a simple .env action
+1 -1
View File
@@ -1,6 +1,6 @@
Test $PWD, $autoenv_event, $autoenv_from_dir and $autoenv_to_dir.
$ source $TESTDIR/setup.sh
$ source $TESTDIR/setup.sh || return 1
Setup env actions / output.
+1 -1
View File
@@ -1,4 +1,4 @@
$ source $TESTDIR/setup.sh
$ source $TESTDIR/setup.sh || return 1
Lets set a simple .env action
+1 -1
View File
@@ -1,6 +1,6 @@
Test recursing into parent .env files.
$ source $TESTDIR/setup.sh
$ source $TESTDIR/setup.sh || return 1
Setup env actions / output.
+1 -1
View File
@@ -1,6 +1,6 @@
Test varstash integration.
$ source $TESTDIR/setup.sh
$ source $TESTDIR/setup.sh || return 1
Setup test environment.