Added clean_swap() to cleanup routine.  This makes sure all leftover swap files 
are removed.

Signed-off-By:  Murlin Ray Wenzel [email protected]


Murlin Ray Wenzel
Sr. Engineer
[email protected]
Office: 801 861 5748
Cell: 801 380 4520

Novell
Making IT Work As One.
www.novell.com






--- ltp-intermediate-20100228-orig/testcases/kernel/syscalls/swapon/swapon03.c  
2010-02-24 09:00:53.000000000 -0700
+++ ltp-intermediate-20100228/testcases/kernel/syscalls/swapon/swapon03.c       
2010-02-24 16:36:38.000000000 -0700
@@ -461,6 +461,9 @@
         */
        TEST_CLEANUP;
 
+       /* remove any remaining swap files */
+       clean_swap();
+
        /* Remove tmp dir and all files inside it */
        tst_rmdir();
 

<<attachment: Murlin_Wenzel.vcf>>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to