|
From: <ro...@us...> - 2002-12-31 21:20:54
|
Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/abort
In directory sc8-pr-cvs1:/tmp/cvs-serv21958
Modified Files:
abort01.c
Log Message:
Added code to use the tst_tmpdir()/tst_rmdir() APIs
Index: abort01.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/abort/abort01.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- abort01.c 30 Dec 2002 19:47:41 -0000 1.1
+++ abort01.c 31 Dec 2002 21:20:50 -0000 1.2
@@ -148,6 +148,7 @@
/* Clean up any files created by test before call to anyfail. */
unlink("core");
+ tst_rmdir();
anyfail(); /* THIS CALL DOES NOT RETURN - EXITS!! */
return(0);
}
@@ -167,6 +168,7 @@
void setup()
{
temp = stderr;
+ tst_tmpdir();
}
int blenter()
|