From a9a55be991fa8f06cf266bd84a72589713a71ac9 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Fri, 31 Jul 2020 12:39:55 -0400 Subject: Disable a nonfunctional build test The amount of drift in the system tests on v2.0 is starting to become difficult to deal with. 2.1.0 can't come soon enough. Signed-off-by: Matthew Heon --- test/system/070-build.bats | 134 --------------------------------------------- 1 file changed, 134 deletions(-) diff --git a/test/system/070-build.bats b/test/system/070-build.bats index 6879b956f..7d6660270 100644 --- a/test/system/070-build.bats +++ b/test/system/070-build.bats @@ -98,140 +98,6 @@ EOF is "$output" ".*error building at STEP .*: source can't be a URL for COPY" } -@test "podman build - workdir, cmd, env, label" { - tmpdir=$PODMAN_TMPDIR/build-test - mkdir -p $tmpdir - - # Random workdir, and multiple random strings to verify command & env - workdir=/$(random_string 10) - s_echo=$(random_string 15) - s_env1=$(random_string 20) - s_env2=$(random_string 25) - s_env3=$(random_string 30) - s_env4=$(random_string 40) - - # Label name: make sure it begins with a letter! jq barfs if you - # try to ask it for '.foo.xyz', i.e. any string beginning with digit - label_name=l$(random_string 8) - label_value=$(random_string 12) - - # Command to run on container startup with no args - cat >$tmpdir/mycmd <$PODMAN_TMPDIR/env-file <$tmpdir/Containerfile < expect=<$expect}>" - is "$actual" "$expect" "jq .Config.$field" - done - - # Bad symlink in volume. Prior to #7094, well, we wouldn't actually - # get here because any 'podman run' on a volume that had symlinks, - # be they dangling or valid, would barf with - # Error: chown /_data/symlink: ENOENT - run_podman run --rm build_test stat -c'%u:%g:%N' /a/b/c/badsymlink - is "$output" "1:2:'/a/b/c/badsymlink' -> '/no/such/nonesuch'" \ - "bad symlink to nonexistent file is chowned and preserved" - - run_podman run --rm build_test stat -c'%u:%g:%N' /a/b/c/goodsymlink - is "$output" "1:2:'/a/b/c/goodsymlink' -> '/bin/mydefaultcmd'" \ - "good symlink to existing file is chowned and preserved" - - run_podman run --rm build_test stat -c'%u:%g' /bin/mydefaultcmd - is "$output" "2:3" "target of symlink is not chowned" - - run_podman run --rm build_test stat -c'%u:%g:%N' /a/b/c/myfile - is "$output" "4:5:/a/b/c/myfile" "file in volume is chowned" - - # Clean up - run_podman rmi -f build_test -} - @test "podman build - stdin test" { if is_remote && is_rootless; then skip "unreliable with podman-remote and rootless; #2972" -- cgit v1.2.3-54-g00ecf