aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-31 12:07:43 +0900
committerOphestra <cat@gensokyo.uk>2026-01-31 14:12:40 +0900
commitc31884bee433b3f421bb34e51397fa0991413348 (patch)
tree8600dbda550de5dafc487c20ef8621fbfc3e7e97
parentf8661ad4796c71fca0635b5094ef04d9a01ca557 (diff)
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>
-rw-r--r--internal/rosa/gnu.go3
-rw-r--r--internal/rosa/go.go15
2 files changed, 16 insertions, 2 deletions
diff --git a/internal/rosa/gnu.go b/internal/rosa/gnu.go
index 5a0265d7..ee9ef50e 100644
--- a/internal/rosa/gnu.go
+++ b/internal/rosa/gnu.go
@@ -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' tests/split/line-bytes.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,
},
diff --git a/internal/rosa/go.go b/internal/rosa/go.go
index 4cd2a077..76f84f85 100644
--- a/internal/rosa/go.go
+++ b/internal/rosa/go.go
@@ -71,7 +71,11 @@ func (t Toolchain) newGoLatest() pkg.Artifact {
"9_e0aFHsIkVxWVGsp9T2RvvjOc3p4n9o9S8tkNe9Cvgzk_zI2FhRQB7ioQkeAAro",
[]string{"CGO_ENABLED=0"}, `
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(),
)
@@ -85,7 +89,11 @@ sed -i \
rm \
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,
)
@@ -106,6 +114,9 @@ sed -i \
sed -i \
's,/lib/ld-musl-`+linuxArch()+`.so.1,/system/bin/linker,' \
cmd/link/internal/`+runtime.GOARCH+`/obj.go
+
+rm \
+ os/root_unix_test.go
`, go123,
)