mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 08:29:45 +00:00
randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
78d035f796
commit
da1382410b
@ -120,7 +120,7 @@ SKIP=
|
||||
rm -rf mdev.testdir/dev/*
|
||||
# here we complicate things by having non-matching group 1 and using %0
|
||||
echo "s([0-9])*d([a-z]+) 0:0 644 >sd/%2_%0" >mdev.testdir/etc/mdev.conf
|
||||
optional STATIC FEATURE_MDEV_CONF FEATURE_MDEV_RENAME FEATURE_MDEV_RENAME_REGEXP FEATURE_LS_RECURSIVE FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME
|
||||
optional STATIC FEATURE_MDEV_CONF FEATURE_MDEV_RENAME FEATURE_MDEV_RENAME_REGEXP FEATURE_LS_RECURSIVE FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME FEATURE_LS_SORTFILES
|
||||
testing "mdev regexp substring match + replace" \
|
||||
"env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1;
|
||||
ls -lnR mdev.testdir/dev | $FILTER_LS2" \
|
||||
@ -194,7 +194,7 @@ echo "capi 0:0 0660 =capi20" >mdev.testdir/etc/mdev.conf
|
||||
echo "capi([0-9]) 0:0 0660 =capi20.0%1" >>mdev.testdir/etc/mdev.conf
|
||||
echo "capi([0-9]*) 0:0 0660 =capi20.%1" >>mdev.testdir/etc/mdev.conf
|
||||
# mdev invocation with DEVPATH=/class/tty/capi20 was deleting /dev/capi20
|
||||
optional STATIC FEATURE_MDEV_CONF FEATURE_MDEV_RENAME FEATURE_MDEV_RENAME_REGEXP FEATURE_LS_RECURSIVE FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME
|
||||
optional STATIC FEATURE_MDEV_CONF FEATURE_MDEV_RENAME FEATURE_MDEV_RENAME_REGEXP FEATURE_LS_RECURSIVE FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME FEATURE_LS_SORTFILES
|
||||
testing "move rule does not delete node with name == device_name" \
|
||||
"\
|
||||
env - PATH=$PATH ACTION=add DEVPATH=/class/tty/capi chroot mdev.testdir /mdev 2>&1;
|
||||
|
@ -14,13 +14,14 @@ test "`id -u`" = 0 || {
|
||||
if test x"$CONFIG_MKFS_MINIX" != x"y" \
|
||||
|| test x"$CONFIG_FEATURE_MINIX2" != x"y" \
|
||||
|| test x"$CONFIG_FEATURE_MOUNT_LOOP" != x"y" \
|
||||
|| test x"$CONFIG_FEATURE_MOUNT_FLAGS" != x"y" \
|
||||
|| test x"$CONFIG_FEATURE_DEVFS" = x"y" \
|
||||
; then
|
||||
echo "SKIPPED: mount"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
testdir=$PWD/testdir
|
||||
testdir=$PWD/mount.testdir
|
||||
|
||||
dd if=/dev/zero of=mount.image1m count=1 bs=1M 2>/dev/null || { echo "dd error"; exit 1; }
|
||||
mkfs.minix -v mount.image1m >/dev/null 2>&1 || { echo "mkfs.minix error"; exit 1; }
|
||||
|
@ -104,7 +104,7 @@ lrwxrwxrwx input_file
|
||||
"" ""
|
||||
SKIP=
|
||||
|
||||
optional FEATURE_TAR_LONG_OPTIONS
|
||||
optional FEATURE_TAR_CREATE FEATURE_TAR_LONG_OPTIONS
|
||||
testing "tar --overwrite" "\
|
||||
rm -rf input_* test.tar 2>/dev/null
|
||||
ln input input_hard
|
||||
|
Loading…
Reference in New Issue
Block a user