Skip to content

Commit

Permalink
test/system: Drop hack around unknown dirs in containers
Browse files Browse the repository at this point in the history
This hack should not be needed since v0.0.99.2[0].

[0] https://github.com/containers/toolbox/releases/tag/0.0.99.2

containers#843
  • Loading branch information
HarryMichal committed Jul 21, 2021
1 parent 16b0c5d commit 6c2cd0e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/system/104-run.bats
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,12 @@ load 'libs/bats-support/load'
load 'libs/bats-assert/load'
load 'libs/helpers'

# It seems like 'toolbox run' (or 'enter') doesn't work fine when
# the workdir is outside the $HOME.
# This hack is to make the tests work from outside the $HOME.
readonly CURDIR=$PWD

setup() {
cd "$HOME" || return 1
cleanup_containers
}

teardown() {
cleanup_containers
cd "$CURDIR" || return 1
}


Expand Down

0 comments on commit 6c2cd0e

Please sign in to comment.