summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-08-03 03:45:48 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-08-03 03:45:48 +0000
commita9be721ce5c6abd78faa7e46ad431c8e5c7b9022 (patch)
tree4ef77f8c2fcfb2a9cfbe37853fc72ede53eb05d2 /tests
parent341d6b357972eaf78e8f0ef4222ad1c19f464916 (diff)
parentacc33f3de9f5ac9e3014e874810643e628bf819c (diff)
downloadsrc-test2-a9be721ce5c6abd78faa7e46ad431c8e5c7b9022.tar.gz
src-test2-a9be721ce5c6abd78faa7e46ad431c8e5c7b9022.zip
Notes
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/fs/tmpfs/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/sys/fs/tmpfs/Makefile b/tests/sys/fs/tmpfs/Makefile
index 78c1e10e6792..d1e82a8b76af 100644
--- a/tests/sys/fs/tmpfs/Makefile
+++ b/tests/sys/fs/tmpfs/Makefile
@@ -41,7 +41,13 @@ ${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'