[Bug 212862] contrib/netbsd-tests/fs/tmpfs/t_mount:large fails on FreeBSD
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 20 18:20:45 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212862
Bug ID: 212862
Summary: contrib/netbsd-tests/fs/tmpfs/t_mount:large fails on
FreeBSD
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: tests
Assignee: freebsd-testing at freebsd.org
Reporter: ngie at FreeBSD.org
The t_mount:large testcase intentionally passes in values which are assumed to
overflow. These tests pass on FreeBSD.
(Simplified repro)
Run the following commands as root:
mkdir tmp
mount -t tmpfs -o size=9223372036854775808 tmpfs tmp
mount -t tmpfs -o size=9223372036854775808g tmpfs tmp
rmdir tmp
Expected results:
The above mount commands should fail with a non-zero exit code.
Actual results:
The commands pass:
# mount -t tmpfs -o size=9223372036854775808g tmpfs tmp
# echo $?
0
# mount -t tmpfs -o size=9223372036854775808 tmpfs tmp
# echo $?
0
#
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-testing
mailing list