← Commit list

4f11a4b25

Denys Vlasenko
Denys Vlasenko
2026-04-30
SUCCESS Duration: 144s

Subject

cpio.tests: fix false positive when -o support is not enabled

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0
gcc -Wp,-MD,applets/.usage.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Iinclude -Iinclude -o applets/usage applets/usage.c

Build Log

(log yok)

Commit Diff GitHub →

testsuite/cpio.tests+1 -1
@@ -157,7 +157,7 @@ SKIP=
# Create an archive containing a file with "../dont_write" filename.
# See that it will not be allowed to unpack.
# NB: GNU cpio 2.15 DOES NOT do such checks.
-optional FEATURE_PATH_TRAVERSAL_PROTECTION
+optional FEATURE_PATH_TRAVERSAL_PROTECTION FEATURE_CPIO_O
rm -rf cpio.testdir
mkdir -p cpio.testdir/prepare/inner
echo "file outside of destination was written" > cpio.testdir/prepare/dont_write