← Commit list

208d35d21

Chris Metcalf
Chris Metcalf
2010-04-02
FAILED Duration: 31s

Subject

testsuite fixes

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

—

Build Log

(log yok)

Commit Diff GitHub →

testsuite/cp/cp-parents+1 -0
@@ -1,3 +1,4 @@
+# FEATURE: CONFIG_FEATURE_CP_LONG_OPTIONS
mkdir -p foo/bar/baz
touch foo/bar/baz/file
mkdir dir
testsuite/mount.tests+7 -0
@@ -9,6 +9,13 @@ test "`id -u`" = 0 || {
exit 0
}
+optional MKFS_MINIX
+if [ -n "$SKIP" ]
+then
+ echo "SKIPPED: mount"
+ exit 0
+fi
+
testdir=$PWD/testdir
dd if=/dev/zero of=mount.image1m count=1 bs=1M 2>/dev/null || { echo "dd error"; exit 1; }
testsuite/runtest+6 -4
@@ -26,10 +26,12 @@ run_applet_testcase()
if grep "^# FEATURE: " "$testcase" >/dev/null; then
local feature=$(sed -ne 's/^# FEATURE: //p' "$testcase")
- if grep "^# $feature is not set$" "$bindir/.config" >/dev/null; then
- echo "UNTESTED: $testname"
- return 0
- fi
+ for f in $feature; do
+ if grep "^# $f is not set$" "$bindir/.config" >/dev/null; then
+ echo "UNTESTED: $testname"
+ return 0
+ fi
+ done
fi
rm -rf ".tmpdir.$applet"
testsuite/tar.tests+2 -0
@@ -31,6 +31,7 @@ Ok
" \
"" ""
+optional FEATURE_TAR_LONG_OPTIONS
testing "tar --overwrite" "\
rm -rf input_* test.tar 2>/dev/null
ln input input_hard
@@ -43,6 +44,7 @@ tar xf test.tar --overwrite 2>&1 && cat input
Ok
" \
"Ok\n" ""
+SKIP=
cd .. && rm -rf tempdir || exit 1