From 646048b40a7b62c4e9bc59024ef6133613cda01b Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Mon, 8 Feb 2016 11:18:19 +0000 Subject: tests: fix #457 There are some limits on XFS: major_max=511 minor_max=262143 see https://github.com/torvalds/linux/blob/master/fs/xfs/xfs_iops.c if (S_ISCHR(mode) || S_ISBLK(mode)) { if (unlikely(!sysv_valid_dev(rdev) || MAJOR(rdev) & ~0x1ff)) return -EINVAL; --- test/sys.tar.xz | Bin 165116 -> 261380 bytes test/udev-test.pl | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/sys.tar.xz b/test/sys.tar.xz index 49ee8027b2..052c77d182 100644 Binary files a/test/sys.tar.xz and b/test/sys.tar.xz differ diff --git a/test/udev-test.pl b/test/udev-test.pl index 0a89303570..638c3e8f4e 100755 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -700,7 +700,7 @@ EOF desc => "big major number test", devpath => "/devices/virtual/misc/misc-fake1", exp_name => "node", - exp_majorminor => "4095:1", + exp_majorminor => "511:1", rules => < "big major and big minor number test", devpath => "/devices/virtual/misc/misc-fake89999", exp_name => "node", - exp_majorminor => "4095:89999", + exp_majorminor => "511:89999", rules => <