[LTP] [PATCH v4 3/3] ci: Add e2fsprogs package for CI test
Wei Gao
wegao@suse.com
Thu Nov 13 02:52:32 CET 2025
We should add e2fsprogs to ci env otherwise test cases
which need tune2fs/dumpe2fs in ci will be skipped.
For example following message:
2025-09-24T09:00:56.9304198Z tst_cmd.c:268: TCONF: Couldn't find 'tune2fs' in $PATH
Signed-off-by: Wei Gao <wegao@suse.com>
---
ci/alpine.sh | 1 +
ci/debian.sh | 1 +
ci/fedora.sh | 1 +
ci/tumbleweed.sh | 1 +
4 files changed, 4 insertions(+)
diff --git a/ci/alpine.sh b/ci/alpine.sh
index 254f4aaec..f3a1bf528 100755
--- a/ci/alpine.sh
+++ b/ci/alpine.sh
@@ -25,6 +25,7 @@ apk add \
musl-dev \
numactl-dev \
openssl-dev \
+ e2fsprogs-extra \
pkgconfig
cat /etc/os-release
diff --git a/ci/debian.sh b/ci/debian.sh
index 0445c92ec..767c9b985 100755
--- a/ci/debian.sh
+++ b/ci/debian.sh
@@ -33,6 +33,7 @@ pkg_minimal="
linux-libc-dev
lsb-release
pkg-config
+ e2fsprogs
"
pkg_nonessential="
diff --git a/ci/fedora.sh b/ci/fedora.sh
index f57806ebf..f4482a1da 100755
--- a/ci/fedora.sh
+++ b/ci/fedora.sh
@@ -26,6 +26,7 @@ $yum \
libtirpc \
libtirpc-devel \
pkg-config \
+ e2fsprogs \
redhat-lsb-core
# CentOS 8 fixes
diff --git a/ci/tumbleweed.sh b/ci/tumbleweed.sh
index 8a30b02c2..8f23229df 100755
--- a/ci/tumbleweed.sh
+++ b/ci/tumbleweed.sh
@@ -30,6 +30,7 @@ while [ $i != 0 ]; do
libtirpc-devel \
linux-glibc-devel \
lsb-release \
+ e2fsprogs \
pkg-config
ret=$?
--
2.51.0
More information about the ltp
mailing list