bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/5] Fix loop test


From: Keshav P R
Subject: Re: [PATCH 4/5] Fix loop test
Date: Thu, 22 Dec 2011 01:38:25 +0530

On Thu, Dec 22, 2011 at 01:20, Phillip Susi <address@hidden> wrote:
On 12/21/2011 1:53 PM, Jim Meyering wrote:
    FAIL: t8000-loop.sh (exit: 1)
    =============================
    ...
    + d1=/h/j/w/co/parted/6/tests/gt-t8000-loop.sh.NpVB/root/dev/loop1
    + parted -s /h/j/w/co/parted/6/tests/gt-t8000-loop.sh.NpVB/root/dev/loop1 mklabel msdos
    + fail=1

I guess you snipped the part with losetup?  It sounds like your kernel has the loop driver built as a module, but on Ubuntu it is built in.  I thought that running losetup automatically made the module load, but maybe it doesn't?  Can you make sure that the loop module is loaded when you run the test, and that losetup succeeded?

Running losetup does not load loop module (atleast in Archlinux). One has to manually load it.
 

Also, I don't understand the goofy paths there instead of /dev/loop1. This must have something to do with that artificial root setup in the lvm.sh I didn't quite grok.  It probably shouldn't be used in t8000.  I think I'll try to write a proper common loop setup function that handles the automatic cleanup the way scsi_debug does.  Then the other tests can start to migrate from scsi_debug to loop instead which will allow them to run in parallel.



- Keshav

reply via email to

[Prev in Thread] Current Thread [Next in Thread]