mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Run config tests in BATS_TMPDIR for clean environment
This avoids issues with it picking up config files from parent directories.
This commit is contained in:
parent
59a9c03267
commit
67e0e50445
@ -3,6 +3,7 @@
|
||||
load test_helpers
|
||||
|
||||
setup() {
|
||||
cd $BATS_TMPDIR
|
||||
ASDF_CONFIG_FILE=$BATS_TMPDIR/asdfrc
|
||||
cat > $ASDF_CONFIG_FILE <<-EOM
|
||||
key1 = value1
|
||||
|
Loading…
Reference in New Issue
Block a user