[Top][All Lists]

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

Re: [PATCH 4/5] Fix loop test

From: Phillip Susi
Subject: Re: [PATCH 4/5] Fix loop test
Date: Wed, 21 Dec 2011 14:50:12 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0

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?

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.

reply via email to

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