public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
From: Eryu Guan <eguan@redhat.com>
To: fstests@vger.kernel.org
Cc: Eryu Guan <eguan@redhat.com>
Subject: [PATCH 3/4] generic/062: don't create WHITEOUT_DEV
Date: Fri, 11 Dec 2015 16:35:06 +0800	[thread overview]
Message-ID: <1449822907-31197-4-git-send-email-eguan@redhat.com> (raw)
In-Reply-To: <1449822907-31197-1-git-send-email-eguan@redhat.com>

overlay doesn't support creating WHITEOUT_DEV (major and minor device ID
are both 0). Create null device instead.

Signed-off-by: Eryu Guan <eguan@redhat.com>
---
 tests/generic/062 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/generic/062 b/tests/generic/062
index 90fcbda..e4dc2cc 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"
-- 
2.5.0


  parent reply	other threads:[~2015-12-11  8:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11  8:35 [PATCH 0/4] fstests: rudimentary overlayfs testing support, take two Eryu Guan
2015-12-11  8:35 ` [PATCH 1/4] fstests: use mount/umount helpers everywhere Eryu Guan
2015-12-11  8:35 ` [PATCH 2/4] fstests: rudimentary overlayfs testing support Eryu Guan
2015-12-11  8:35 ` Eryu Guan [this message]
2015-12-11  8:35 ` [PATCH 4/4] generic/079: _notrun if fs doesn't support ioctl Eryu Guan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1449822907-31197-4-git-send-email-eguan@redhat.com \
    --to=eguan@redhat.com \
    --cc=fstests@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox