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 : [email protected]
 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to