From: Eryu Guan Date: Mon, 21 Dec 2015 07:07:48 +0000 (+1100) Subject: generic/062: don't create WHITEOUT_DEV X-Git-Tag: v2022.05.01~2706 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=55f6116f3a264d974b808bb3f6e5fcaec98fe111 generic/062: don't create WHITEOUT_DEV overlay doesn't support creating WHITEOUT_DEV (major and minor device ID are both 0). Create null device instead. Signed-off-by: Eryu Guan Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/tests/generic/062 b/tests/generic/062 index 90fcbdaf..e4dc2cc8 100755 --- a/tests/generic/062 +++ b/tests/generic/062 @@ -63,7 +63,7 @@ _create_test_bed() ln -s $SCRATCH_MNT/dir $SCRATCH_MNT/lnk mkdir $SCRATCH_MNT/dev mknod $SCRATCH_MNT/dev/b b 0 0 - mknod $SCRATCH_MNT/dev/c c 0 0 + mknod $SCRATCH_MNT/dev/c c 1 3 mknod $SCRATCH_MNT/dev/p p # sanity check find $SCRATCH_MNT | LC_COLLATE=POSIX sort | _filter_scratch | grep -v "lost+found"