Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix: Only call ws destroy if .my127ws exists #743

Merged
merged 7 commits into from
Feb 15, 2023
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions test
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,10 @@ function teardown()

function clean()
{
if [ -d "$path_test" ]; then
(cd "$path_test" && ws destroy) || (docker ps -a && return 1)
if [ -d "$path_test"]; then
g-foster2020 marked this conversation as resolved.
Show resolved Hide resolved
if [ -d "${path_test}/.my127ws"]; then
andytson-inviqa marked this conversation as resolved.
Show resolved Hide resolved
(cd "$path_test" && ws destroy || (docker ps -a && return 1)
fi
rm -rf "$path_test"
fi
}
Expand Down