test/system: Drop hack around unknown dirs in containers

This hack should not be needed since v0.0.99.2[0].

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

https://github.com/containers/toolbox/pull/843
This commit is contained in:
Ondřej Míchal 2021-07-16 20:36:47 +02:00
parent 16b0c5d88f
commit 6c2cd0e929
1 changed files with 0 additions and 7 deletions

View File

@ -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
}