[parted-devel] [PATCH 1/2] tests: Make sure the extended partition length is 2 (#1135493)

Phil Susi psusi at ubuntu.com
Wed Jun 24 17:01:07 UTC 2015


On 6/23/2015 3:15 PM, Brian C. Lane wrote:
[ $ext_len -gt 1 ] || fail=1

It looks like you just changed the test to look for 1 sector, which 
should fail always.  Did you run it?

It should be:

exp_len=$((ss / 512))
if [ $ss -eq 1 ] ;
     $ss = 2
fi
[ $ext_len -eq $exp_len ] || fail=1




More information about the parted-devel mailing list