]> granicus.if.org Git - zfs/commit
Fix reservation test cases for large disks
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 2 Feb 2017 00:28:01 +0000 (16:28 -0800)
committerGitHub <noreply@github.com>
Thu, 2 Feb 2017 00:28:01 +0000 (16:28 -0800)
commit8eecd4a2de217b3f7a40982dcf7765bc0c4104ba
tree4df193e44a2bd36264f7146fd6f5098f804f8edc
parent0f676dc228862ce0b4f9e27d06d394e9cbaa32e3
Fix reservation test cases for large disks

Convert explicit `typeset -i` and `typeset -l` declarations to
`typeset` in order to prevent 32-bit overflow from occurs with
disks >2G.

TEST_ZFSTESTS_DISKSIZE=4G

Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #5715
Closes #5714
tests/zfs-tests/tests/functional/reservation/reservation.shlib
tests/zfs-tests/tests/functional/reservation/reservation_017_pos.sh
tests/zfs-tests/tests/functional/reservation/reservation_018_pos.sh