diff --git a/test/system/070-build.bats b/test/system/070-build.bats index fa318a3e6d..728b5ba7bd 100644 --- a/test/system/070-build.bats +++ b/test/system/070-build.bats @@ -941,29 +941,41 @@ EOF } @test "podman build COPY hardlinks " { - tmpdir=$PODMAN_TMPDIR/build-test - subdir=$tmpdir/subdir - subsubdir=$subdir/subsubdir - mkdir -p $subsubdir + local build_dir=$PODMAN_TMPDIR/build-test - dockerfile=$tmpdir/Dockerfile + mkdir -p $build_dir + dockerfile=$build_dir/Dockerfile cat >$dockerfile <