forked from security/hakurei
internal/rosa: disable broken tests
These fail when running as users with supplementary groups, since they are unmapped in the container. This was not the case in the development container where all groups were dropped, so the failure was missed. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -203,6 +203,9 @@ test_disable() { chmod +w "$2" && echo "$1" > "$2"; }
|
|||||||
test_disable '#!/bin/sh' gnulib-tests/test-c32ispunct.sh
|
test_disable '#!/bin/sh' gnulib-tests/test-c32ispunct.sh
|
||||||
test_disable '#!/bin/sh' tests/split/line-bytes.sh
|
test_disable '#!/bin/sh' tests/split/line-bytes.sh
|
||||||
test_disable '#!/bin/sh' tests/dd/no-allocate.sh
|
test_disable '#!/bin/sh' tests/dd/no-allocate.sh
|
||||||
|
test_disable 'int main(){return 0;}' gnulib-tests/test-chown.c
|
||||||
|
test_disable 'int main(){return 0;}' gnulib-tests/test-fchownat.c
|
||||||
|
test_disable 'int main(){return 0;}' gnulib-tests/test-lchown.c
|
||||||
`,
|
`,
|
||||||
Flag: TEarly,
|
Flag: TEarly,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -71,7 +71,11 @@ func (t Toolchain) newGoLatest() pkg.Artifact {
|
|||||||
"9_e0aFHsIkVxWVGsp9T2RvvjOc3p4n9o9S8tkNe9Cvgzk_zI2FhRQB7ioQkeAAro",
|
"9_e0aFHsIkVxWVGsp9T2RvvjOc3p4n9o9S8tkNe9Cvgzk_zI2FhRQB7ioQkeAAro",
|
||||||
[]string{"CGO_ENABLED=0"}, `
|
[]string{"CGO_ENABLED=0"}, `
|
||||||
rm \
|
rm \
|
||||||
crypto/tls/handshake_client_test.go
|
crypto/tls/handshake_client_test.go \
|
||||||
|
os/os_unix_test.go
|
||||||
|
echo \
|
||||||
|
'type syscallDescriptor = int' >> \
|
||||||
|
os/rawconn_test.go
|
||||||
`, t.newGoBootstrap(),
|
`, t.newGoBootstrap(),
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -85,7 +89,11 @@ sed -i \
|
|||||||
|
|
||||||
rm \
|
rm \
|
||||||
crypto/tls/handshake_client_test.go \
|
crypto/tls/handshake_client_test.go \
|
||||||
crypto/tls/handshake_server_test.go
|
crypto/tls/handshake_server_test.go \
|
||||||
|
os/os_unix_test.go
|
||||||
|
echo \
|
||||||
|
'type syscallDescriptor = int' >> \
|
||||||
|
os/rawconn_test.go
|
||||||
`, go119,
|
`, go119,
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -106,6 +114,9 @@ sed -i \
|
|||||||
sed -i \
|
sed -i \
|
||||||
's,/lib/ld-musl-`+linuxArch()+`.so.1,/system/bin/linker,' \
|
's,/lib/ld-musl-`+linuxArch()+`.so.1,/system/bin/linker,' \
|
||||||
cmd/link/internal/`+runtime.GOARCH+`/obj.go
|
cmd/link/internal/`+runtime.GOARCH+`/obj.go
|
||||||
|
|
||||||
|
rm \
|
||||||
|
os/root_unix_test.go
|
||||||
`, go123,
|
`, go123,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user