Bug 191116 - sys-apps/parted-1.8.8 fails tests
Bug#: 191116 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: livecd@gentoo.org Reported By: dirtyepic@gentoo.org
Component: Applications
URL: 
Summary: sys-apps/parted-1.8.8 fails tests
Keywords:  
Status Whiteboard: 
Opened: 2007-09-03 03:08 0000
Description:   Opened: 2007-09-03 03:08 0000
parted-1.8.8 is failing `make check` during the ext2 resize tests.  1.8.7
works.  

[ebuild     U ] sys-apps/parted-1.8.8 [1.8.7] USE="device-mapper readline
-debug -nls (-selinux)" 0 kB

*   ok 1: create the test file
*   ok 2: run parted -s FILE mklabel msdos
*   ok 3: check for empty output
*   ok 4: make an ext2 primary partition
*   ok 5: check for empty output
* FAIL 6: resize ext2 primary partition
        parted -s $dev resize 1 0 $NEW_SIZE > out 2>&1
* FAIL 7: check for empty output
        $compare out /dev/null
* failed 2 among 7 test(s)
FAIL: t3100-resize-ext2-partion.sh
===================================
1 of 8 tests failed
Please report to bug-parted@gnu.org
===================================

according to the upstream mailing list, the failure is because the tests are
marked test_expect_failure, but they actually work now, so the attached patch
changes them to test_expect_success.  this change has already been commited to
the upstream git tree.

------- Comment #1 From Ryan Hill 2007-09-03 03:12:03 0000 -------
Created an attachment (id=129884) [details]
parted-1.8.8-t3100-test-success.patch

------- Comment #2 From Chris Gianelloni (RETIRED) 2007-09-04 21:30:59 0000 -------
Fixed... thanks for the patch!