Skip to content

Commit

Permalink
Checking on working directory during bats invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Van Fleet committed Jul 27, 2016
1 parent b36e227 commit 07accca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ bin/run.sh
bin/test.sh
root/**
shibboleth-identity-provider.tar.gz
test.log
3 changes: 2 additions & 1 deletion tests/download.bats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
load ../common

setup() {
echo $PWD > test.log
./bin/download.sh
}

Expand All @@ -19,4 +20,4 @@ setup() {
@test "Prunes Shibboleth IDP logs" {
run ls root/logs
[ "$status" -eq 1 ]
}
}

0 comments on commit 07accca

Please sign in to comment.