* [LTP] acltest01 Failed to find an available loopback device
@ 2010-09-14 14:28 Jacky.Malcles
2010-10-03 0:57 ` Garrett Cooper
0 siblings, 1 reply; 2+ messages in thread
From: Jacky.Malcles @ 2010-09-14 14:28 UTC (permalink / raw)
To: Garrett Cooper, ltp-list
hi garret,
I get this when running acltest01:
tag=acl_test01 stime=1284123525
cmdline="export TCbin=$LTPROOT/testcases/bin;acl_test01"
contacts=""
analysis=exit
<<<test_output>>>
10240+0 records in
10240+0 records out
10485760 bytes (10 MB) copied, 0.037594 seconds, 279 MB/s
/opt/ltp/testcases/bin/acl_test01: line 128: loop_dev: command not found
acltest01 1 TCONF : [ losetup.1 ] Failed to find an available
loopback device -- is the required support compiled in your kernel?
<<<execution_status>>>
...
So, if you agree, I suggest the following change,
thanks,
Jacky
--- acl_test01.original 2010-09-14 14:49:48.000000000 +0200
+++ acl_test01 2010-09-14 14:50:15.000000000 +0200
@@ -125,7 +125,7 @@ else
# Avoid hardcoded loopback device values (-f tries to find the first
# available loopback device name)!
- if ! (LOOP_DEV=$(loop_dev -f) && [ "x$LOOP_DEV" = x ]); then
+ if ! (LOOP_DEV=$(losetup -f) && [ "x$LOOP_DEV" = x ]); then
tst_resm TCONF "[ losetup.1 ] Failed to find an
available loopback device -- is the required support compiled in your
kernel?"
exit 0
fi
--
Jacky Malcles B1-403 Email : Jacky.Malcles@bull.net
Bull SA, 1 rue de Provence, B.P 208, 38432 Echirolles CEDEX, FRANCE
Tel : 04.76.29.73.14
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LTP] acltest01 Failed to find an available loopback device
2010-09-14 14:28 [LTP] acltest01 Failed to find an available loopback device Jacky.Malcles
@ 2010-10-03 0:57 ` Garrett Cooper
0 siblings, 0 replies; 2+ messages in thread
From: Garrett Cooper @ 2010-10-03 0:57 UTC (permalink / raw)
To: Jacky.Malcles; +Cc: ltp-list
On Tue, Sep 14, 2010 at 7:28 AM, Jacky.Malcles <Jacky.Malcles@bull.net> wrote:
> hi garret,
>
> I get this when running acltest01:
>
> tag=acl_test01 stime=1284123525
> cmdline="export TCbin=$LTPROOT/testcases/bin;acl_test01"
> contacts=""
> analysis=exit
> <<<test_output>>>
> 10240+0 records in
> 10240+0 records out
> 10485760 bytes (10 MB) copied, 0.037594 seconds, 279 MB/s
> /opt/ltp/testcases/bin/acl_test01: line 128: loop_dev: command not found
> acltest01 1 TCONF : [ losetup.1 ] Failed to find an available loopback
> device -- is the required support compiled in your kernel?
> <<<execution_status>>>
> ...
>
>
> So, if you agree, I suggest the following change,
> thanks,
> Jacky
>
> --- acl_test01.original 2010-09-14 14:49:48.000000000 +0200
> +++ acl_test01 2010-09-14 14:50:15.000000000 +0200
> @@ -125,7 +125,7 @@ else
>
> # Avoid hardcoded loopback device values (-f tries to find the first
> # available loopback device name)!
> - if ! (LOOP_DEV=$(loop_dev -f) && [ "x$LOOP_DEV" = x ]); then
> + if ! (LOOP_DEV=$(losetup -f) && [ "x$LOOP_DEV" = x ]); then
> tst_resm TCONF "[ losetup.1 ] Failed to find an available
> loopback device -- is the required support compiled in your kernel?"
> exit 0
> fi
Committed. Please provide a signed-off-by line next time.
Thanks,
-Garrett
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-03 0:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-14 14:28 [LTP] acltest01 Failed to find an available loopback device Jacky.Malcles
2010-10-03 0:57 ` Garrett Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox