Skip to content

Commit 0363655

Browse files
committed
Update test-various to Ubuntu 20.04
The test command-setgroups.rs is adjusted to skip on musl, where `sysconf(_SC_NGROUPS_MAX)` always returns a dummy value of 32, even though the actual value is 65536. I'm not sure why this becomes relevant only now though, as this was apparently the case since kernel 2.6.4.
1 parent b122908 commit 0363655

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/ci/docker/host-x86_64/test-various/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM ubuntu:18.04
1+
FROM ubuntu:20.04
22

3-
RUN apt-get update && apt-get install -y --no-install-recommends \
3+
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
44
g++ \
55
make \
66
ninja-build \

src/test/ui/command/command-setgroups.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// ignore-cloudabi
44
// ignore-emscripten
55
// ignore-sgx
6+
// ignore-musl - returns dummy result for _SC_NGROUPS_MAX
67

78
#![feature(rustc_private)]
89
#![feature(setgroups)]

0 commit comments

Comments
 (0)