mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-11-22 07:20:59 +02:00
tests: abort if setup fails!
Otherwise the user's auth file might get removed.
This commit is contained in:
parent
e07a47f566
commit
5cb689875e
@ -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,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,4 +1,4 @@
|
||||
$ source $TESTDIR/setup.sh
|
||||
$ source $TESTDIR/setup.sh || return 1
|
||||
|
||||
Lets set a simple .env action
|
||||
|
||||
|
@ -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,4 +1,4 @@
|
||||
$ source $TESTDIR/setup.sh
|
||||
$ source $TESTDIR/setup.sh || return 1
|
||||
|
||||
Lets set a simple .env action
|
||||
|
||||
|
@ -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,6 +1,6 @@
|
||||
Test varstash integration.
|
||||
|
||||
$ source $TESTDIR/setup.sh
|
||||
$ source $TESTDIR/setup.sh || return 1
|
||||
|
||||
Setup test environment.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user