mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-08-21 22:56:55 +00:00
The upstream pjd/pjdfstest uses hardcoded ~768-byte filenames which exceed the Linux FUSE kernel NAME_MAX=255 limit. The sanwan fork (used by JuiceFS) uses pathconf(_PC_NAME_MAX) to dynamically determine the filesystem's actual NAME_MAX and generates test names accordingly. This removes all 26 NAME_MAX-related entries from known_failures.txt, reducing the skip list from 31 to 5 entries.
29 lines
743 B
Docker
29 lines
743 B
Docker
FROM chrislusf/seaweedfs:e2e
|
|
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
|
--no-install-recommends \
|
|
--no-install-suggests \
|
|
autoconf \
|
|
automake \
|
|
build-essential \
|
|
git \
|
|
libtap-harness-archive-perl \
|
|
perl \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ARG PJDFSTEST_REPO=https://github.com/sanwan/pjdfstest.git
|
|
ARG PJDFSTEST_REF=d25636a227606f8960e5179741d8f4ad7030ef41
|
|
|
|
RUN git clone "${PJDFSTEST_REPO}" /opt/pjdfstest && \
|
|
cd /opt/pjdfstest && \
|
|
git checkout "${PJDFSTEST_REF}" && \
|
|
autoreconf -ifs && \
|
|
./configure && \
|
|
make pjdfstest
|
|
|
|
COPY run_inside_container.sh /run.sh
|
|
COPY known_failures.txt /known_failures.txt
|
|
RUN chmod +x /run.sh
|