From: Miroslav V. <mva...@re...> - 2011-12-13 15:27:38
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/13/2011 04:26 PM, Linda Knippers wrote: > Actually, I'm not sure that this really works because the loopback > device is also hard coded in $(LTP_BASE_PATH)/runtest/mnt_syscalls > and I think that's where the test arguments come from. Hmm looks like /dev/loop0 is hardcoded on more places in the LTP test suite so maybe we should just skip this patch and pull in the other two then. > > > -- ljk > > mva...@re... wrote: >> From: Miroslav Vadkerti <mva...@re...> >> >> >> Signed-off-by: Miroslav Vadkerti <mva...@re...> >> --- >> ltp/patch/mnt_syscalls.sh | 2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/ltp/patch/mnt_syscalls.sh b/ltp/patch/mnt_syscalls.sh >> index 22320f6..0b2ceb7 100644 >> --- a/ltp/patch/mnt_syscalls.sh >> +++ b/ltp/patch/mnt_syscalls.sh >> @@ -3,7 +3,7 @@ >> # DESCRIPTION: This script uses block loopback devices to test mount feature. >> >> LOOP_IMG="block.img" >> -LOOP_DEV="/dev/loop0" >> +LOOP_DEV=$(losetup -f) >> >> create_loopback_system() >> { > - -- Miroslav Vadkerti :: QA Engineer / RHCE :: BaseOS QE - Security IRC mvadkert at #qe #urt #rpmdiff :: GnuPG ID 0x25881087 at pgp.mit.edu Phone +420 532 294 129 :: CZ +420 775 039 842 :: SK +421 904 135 440 Red Hat s.r.o, Purky?ova 99/71, 612 45, Brno, Czech Republic -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJO527PAAoJEBliWhMliBCHa4MIAMiSdfTwaFK1evnG9zytlVjA BMhBnDeqeXgj6pPjZa0FoYgx7eKGmPd0udAfQb3msyB/oT7IrBIbtwULgWe82IwG BD9yWOlvMmepRSu137547c93kzaVn37zMtspr0zn0+tVMMEWfhdAe+8AGWmUI0t6 12Rc90Fk35hAap872kir26lZG43AQdozky3/MNpb7H7zooxyYeCqDbHLLQm0JkGP fU7NaDVItp7wM4SZOen/6Y1LIqJl6t1tmTTkbH4ICj3at0wo29l0mm1roVnKdrGR sZI/Gepl0SFdCAd0KJBm61h8ZIhKFXSLSQ/XR57hdDxbCgXGUApLK2pQLIPR5nA= =PLW0 -----END PGP SIGNATURE----- |