From: Evgeny Vereshchagin Date: Mon, 8 Feb 2016 11:18:19 +0000 (+0000) Subject: tests: fix #457 X-Git-Tag: v229~29^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2550%2Fhead;p=thirdparty%2Fsystemd.git 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; --- diff --git a/test/sys.tar.xz b/test/sys.tar.xz index 49ee8027b2e..052c77d182a 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 0a893035700..638c3e8f4e2 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 => <