--- ltp-full-20090531/testcases/kernel/syscalls/splice/splice01.c	2009-03-23 06:36:06.000000000 -0700
+++ ltp/testcases/kernel/syscalls/splice/splice01.c	2009-06-23 13:37:31.017333600 -0700
@@ -96,12 +96,14 @@
 	setup();
 
 	/*
-	 * check if the current filesystem is nfs
+	 * check if the current filesystem of the test directory is nfs
 	 */
+	tst_tmpdir();
 	if (tst_is_cwd_nfs()) {
 		tst_brkm(TCONF, cleanup,
 			 "Cannot do splice on a file located on an NFS filesystem");
 	}
+	tst_rmdir();
 
 	/*
 	 * check looping state if -c option given
