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)
This commit is contained in:
Alan Somers 2018-07-21 20:14:01 +00:00
parent 7378015b69
commit 8cadd66d98

View File

@ -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'