From: "Jacky.Malcles" <Jacky.Malcles@bull.net>
To: Garrett Cooper <yanegomi@gmail.com>, ltp-list@lists.sourceforge.net
Subject: [LTP] acltest01 Failed to find an available loopback device
Date: Tue, 14 Sep 2010 16:28:33 +0200 [thread overview]
Message-ID: <4C8F8691.3050808@bull.net> (raw)
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
next reply other threads:[~2010-09-14 14:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-14 14:28 Jacky.Malcles [this message]
2010-10-03 0:57 ` [LTP] acltest01 Failed to find an available loopback device Garrett Cooper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C8F8691.3050808@bull.net \
--to=jacky.malcles@bull.net \
--cc=ltp-list@lists.sourceforge.net \
--cc=yanegomi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox