Browse Source

Use setup_file so setup code only runs once

pull/680/head
Tim Kimber 4 years ago
parent
commit
25d29bbff5
No known key found for this signature in database GPG Key ID: 3E1804964E76BD18
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      test/2-simple-dns01-dig.bats

+ 2
- 2
test/2-simple-dns01-dig.bats View File

@ -5,7 +5,7 @@ load '/bats-assert/load.bash'
load '/getssl/test/test_helper.bash'
setup() {
setup_file() {
if [ -z "$STAGING" ]; then
export CURL_CA_BUNDLE=/root/pebble-ca-bundle.crt
fi
@ -18,7 +18,7 @@ setup() {
}
teardown() {
teardown_file() {
if [ -f /usr/bin/host.getssl.bak ]; then
mv /usr/bin/host.getssl.bak /usr/bin/host
fi


Loading…
Cancel
Save