Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
+# FEATURE: CONFIG_FEATURE_CP_LONG_OPTIONS
mkdir -p foo/bar/baz
touch foo/bar/baz/file
mkdir dir
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; }
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"
" \
"" ""
+optional FEATURE_TAR_LONG_OPTIONS
testing "tar --overwrite" "\
rm -rf input_* test.tar 2>/dev/null
ln input input_hard
Ok
" \
"Ok\n" ""
+SKIP=
cd .. && rm -rf tempdir || exit 1