1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-22 23:40:58 +02:00

tests: abort if setup fails!

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

View File

@ -1,6 +1,6 @@
Tests for internal stack handling. Tests for internal stack handling.
$ source $TESTDIR/setup.sh $ source $TESTDIR/setup.sh || return 1
Non-existing entries are allowed and handled without error. Non-existing entries are allowed and handled without error.

View File

@ -1,6 +1,6 @@
Tests for internal util methods. Tests for internal util methods.
$ source $TESTDIR/setup.sh $ source $TESTDIR/setup.sh || return 1
Non-existing entries are allowed and handled without error. Non-existing entries are allowed and handled without error.

View File

@ -1,4 +1,4 @@
$ source $TESTDIR/setup.sh $ source $TESTDIR/setup.sh || return 1
Lets set a simple .env action Lets set a simple .env action

View File

@ -1,6 +1,6 @@
Test $PWD, $autoenv_event, $autoenv_from_dir and $autoenv_to_dir. 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. Setup env actions / output.

View File

@ -1,4 +1,4 @@
$ source $TESTDIR/setup.sh $ source $TESTDIR/setup.sh || return 1
Lets set a simple .env action Lets set a simple .env action

View File

@ -1,6 +1,6 @@
Test recursing into parent .env files. Test recursing into parent .env files.
$ source $TESTDIR/setup.sh $ source $TESTDIR/setup.sh || return 1
Setup env actions / output. Setup env actions / output.

View File

@ -1,6 +1,6 @@
Test varstash integration. Test varstash integration.
$ source $TESTDIR/setup.sh $ source $TESTDIR/setup.sh || return 1
Setup test environment. Setup test environment.