svn commit: r336588 - head/tests/sys/fs/tmpfs

Alan Somers asomers at FreeBSD.org
Sat Jul 21 20:14:02 UTC 2018


Author: asomers
Date: Sat Jul 21 20:14:01 2018
New Revision: 336588
URL: https://svnweb.freebsd.org/changeset/base/336588

Log:
  Fix sys.fs.tmpfs.mknod_test.{char, block} by reverting r321967
  
  In r321967 ngie "fixed" these tests by changing their expectations to match
  the device numbers produced by the new ino64 code.  But it wasn't the tests
  that were broken, it was the kernel.  bde fixed the kernel in r335053.
  
  Reported by:	Jenkins
  MFC after:	Never (only applies to >= 12)

Modified:
  head/tests/sys/fs/tmpfs/Makefile

Modified: head/tests/sys/fs/tmpfs/Makefile
==============================================================================
--- head/tests/sys/fs/tmpfs/Makefile	Sat Jul 21 19:48:31 2018	(r336587)
+++ head/tests/sys/fs/tmpfs/Makefile	Sat Jul 21 20:14:01 2018	(r336588)
@@ -41,13 +41,7 @@ ${PACKAGE}FILESDIR=	${TESTSDIR}
 PROGS+=			h_tools
 BINDIR.h_tools=		${TESTSDIR}
 
-# NOTE: dev_t is represented by 64-bits after r321920 (it was 16-bits
-# previously).
-#
-# The old hardcoded values assume the 16-bit layout for <struct stat>.st_rdev .
 ATF_TESTS_SH_SED_mknod_test=		\
-					-e '/$${st_rdev} -eq 512/s/512/8589934592/g' \
-					-e '/$${st_rdev} -eq 514/s/514/8589934594/g' \
 					-e 's,mknod pipe p,mkfifo pipe,g' \
 					-e 's,mknod dir/pipe p,mkfifo dir/pipe,g'
 


More information about the svn-src-all mailing list