Skip to contentSkip to conversation

fs_di TestCase

LTP Jacky Malcles 2 participants 2 messages Sep 24, 2009 – Sep 27, 2009

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Subrata,

when this TC is ending it removes all directories/files under /tmp that may be embarrassing so,
if you agree I suggest that it only removes what has to do with the TestCase; this is the purpose of the following patch.

diff -uprN ltp-full-20090831.orig/testcases/kernel/fs/fs_di ltp-full-20090831/testcases/kernel/fs/fs_di
diff -uprN ltp-full-20090831.orig/testcases/kernel/fs/fs_di/fs_di ltp-full-20090831/testcases/kernel/fs/fs_di/fs_di
- --- ltp-full-20090831.orig/testcases/kernel/fs/fs_di/fs_di

2009-08-31 07:15:46.000000000 +0200
+++ ltp-full-20090831/testcases/kernel/fs/fs_di/fs_di   2009-09-24
16:06:05.000000000 +0200
@@ -95,7 +95,6 @@ $trace_logic
     if [ "$CLEANUP" = "ON" ]; then
        rm -rf $TCtmp
        rm -rf ${TESTFS}

- - rm -rf $TMPBASE/*
rm -f $TCtmp/testfile*
fi

regards,
- --
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEVAwUBSruGS3FYHhojb+kFAQILlQgAj+G7Ey6K8EBiskbySOs2VU/MbuI1zv+s YnkVVSWj1dx7VMGCYdxvz+xINTunBMeLtomskodYmGkbSS12+012MmlsDHiYf/05 oybPYxc+6qp+JKQBUBjESdQ2/7YC58pW+uk6AJRinpfjczeozDk49E9EeEd9qtJn tlZy72mIscZe4u8nHVferPpMTzA2O5VqQp9Iy34YjYeEob0ttrLiqSMwTtN4RAWK DUD/l9FwPgdxBQjwEvtKItKUxB9rMS+Vu6Np1gYGBQYrwFzTm+M2UGwwmdyUCwdM yjJQx0SRqImR2ldVg0QbgrAsdwRRfIAkvhWFSCCSQzN67JP3QW84/w== =UWZ2
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 11 lines · Jacky Malcles

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Subrata,

when this TC is ending it removes all directories/files under /tmp that may be embarrassing so,
if you agree I suggest that it only removes what has to do with the TestCase; this is the purpose of the following patch.

This does not apply:

patching file testcases/kernel/fs/fs_di/fs_di
Hunk #1 FAILED at 95.
1 out of 1 hunk FAILED -- saving rejects to file
testcases/kernel/fs/fs_di/fs_di.rej

Regards--
Subrata

Quoted 26 lines

diff -uprN ltp-full-20090831.orig/testcases/kernel/fs/fs_di ltp-full-20090831/testcases/kernel/fs/fs_di
diff -uprN ltp-full-20090831.orig/testcases/kernel/fs/fs_di/fs_di ltp-full-20090831/testcases/kernel/fs/fs_di/fs_di
- --- ltp-full-20090831.orig/testcases/kernel/fs/fs_di/fs_di

2009-08-31 07:15:46.000000000 +0200

+++ ltp-full-20090831/testcases/kernel/fs/fs_di/fs_di 2009-09-24
16:06:05.000000000 +0200

(quoted diff) +0 -1
@@ -95,7 +95,6 @@ $trace_logic
     if [ "$CLEANUP" = "ON" ]; then
        rm -rf $TCtmp
        rm -rf ${TESTFS}
- -       rm -rf $TMPBASE/*
         rm -f $TCtmp/testfile*
     fi
 

regards,
- --
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

Quoted 8 lines

iQEVAwUBSruGS3FYHhojb+kFAQILlQgAj+G7Ey6K8EBiskbySOs2VU/MbuI1zv+s YnkVVSWj1dx7VMGCYdxvz+xINTunBMeLtomskodYmGkbSS12+012MmlsDHiYf/05 oybPYxc+6qp+JKQBUBjESdQ2/7YC58pW+uk6AJRinpfjczeozDk49E9EeEd9qtJn tlZy72mIscZe4u8nHVferPpMTzA2O5VqQp9Iy34YjYeEob0ttrLiqSMwTtN4RAWK DUD/l9FwPgdxBQjwEvtKItKUxB9rMS+Vu6Np1gYGBQYrwFzTm+M2UGwwmdyUCwdM yjJQx0SRqImR2ldVg0QbgrAsdwRRfIAkvhWFSCCSQzN67JP3QW84/w== =UWZ2
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list