summaryrefslogtreecommitdiff
path: root/tests/t9021-maxima.sh
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2010-08-19 11:07:20 +0100
committerJim Meyering <meyering@redhat.com>2010-08-20 16:34:59 -0400
commitfb1616546c56d5f78fce9076e6fa72e179d06ad6 (patch)
treecbb58472a7c152e0b77657203cb8d89573989f44 /tests/t9021-maxima.sh
parentfeaa8f3fd279a5eb3adb16d8cfe863328a5e3222 (diff)
downloadparted-fb1616546c56d5f78fce9076e6fa72e179d06ad6.tar.gz
libparted: remove limits on loop labels
There's no reason to impose any particular limit on loop labels, since they just represent a single large partition. Sector counts over 2^32 are needed for large RAID arrays. Change the limit to 2^64 since that's the upper limit imposed by libparted and it saves us implementing the limit functions separately. This bug appears to have been introduced by commit 2dbc645c. * libparted/labels/pt-limit.gperf: Change limits on "loop" to 2^64. * tests/t9021-maxima.sh: Update for the new loop limit. * NEWS (Bug fixes): Mention it.
Diffstat (limited to 'tests/t9021-maxima.sh')
-rwxr-xr-xtests/t9021-maxima.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t9021-maxima.sh b/tests/t9021-maxima.sh
index eb44eea..0f16297 100755
--- a/tests/t9021-maxima.sh
+++ b/tests/t9021-maxima.sh
@@ -42,7 +42,7 @@ for t in msdos gpt dvh sun mac bsd amiga loop pc98; do
max_start=4294967295
max_len=4294967295
case $t in
- gpt) max_start=18446744073709551615; max_len=$max_start;;
+ gpt|loop) max_start=18446744073709551615; max_len=$max_start;;
sun) max_start=549755813760;; # 128 * (2^32-1)
esac