syscalls/creat09: Remove.

It tested subset of what creat01 does.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
diff --git a/doc/testcases/kernel.txt b/doc/testcases/kernel.txt
index cc46dbc..fa5d686 100644
--- a/doc/testcases/kernel.txt
+++ b/doc/testcases/kernel.txt
@@ -1236,15 +1236,6 @@
 		ltp/testcases/kernel/syscalls/creat/creat08.c
 	<\test_location>
 <\testname>
-<testname=creat09>
-	<description>
-		Basic test for creat(2) using 0700 argument.
-
-	<\description>
-	<test_location>
-		ltp/testcases/kernel/syscalls/creat/creat09.c
-	<\test_location>
-<\testname>
 <testname=dup01>
 	<description>
 		Basic test for dup(2).
diff --git a/runtest/ltplite b/runtest/ltplite
index 6ca24c5..89accc4 100644
--- a/runtest/ltplite
+++ b/runtest/ltplite
@@ -144,7 +144,6 @@
 creat06 creat06
 creat07 creat07
 creat08 creat08
-creat09 creat09
 
 dup01 dup01
 dup02 dup02
diff --git a/runtest/quickhit b/runtest/quickhit
index 9a0f043..282ad24 100644
--- a/runtest/quickhit
+++ b/runtest/quickhit
@@ -57,10 +57,6 @@
 # Basic test for close(2)
 #    TEST CASES
 # 	1.) close(2) returns...
-creat09 creat09
-# Basic test for creat(2) using 0700 argument.
-#    TEST CASES
-# 	1.) creat(2) returns...
 dup01 dup01
 # Basic test for dup(2)
 #    TEST CASES
diff --git a/runtest/stress.part3 b/runtest/stress.part3
index db11ef6..85950bf 100644
--- a/runtest/stress.part3
+++ b/runtest/stress.part3
@@ -85,7 +85,6 @@
 creat06 creat06
 creat07 creat07
 creat08 creat08
-creat09 creat09
 
 dup01 dup01
 dup02 dup02
diff --git a/runtest/syscalls b/runtest/syscalls
index 87ebb03..5f169a3 100644
--- a/runtest/syscalls
+++ b/runtest/syscalls
@@ -102,7 +102,6 @@
 creat06 creat06
 creat07 creat07
 creat08 creat08
-creat09 creat09
 
 dup01 dup01
 dup02 dup02
diff --git a/testcases/kernel/syscalls/.gitignore b/testcases/kernel/syscalls/.gitignore
index d0496fb..de403e4 100644
--- a/testcases/kernel/syscalls/.gitignore
+++ b/testcases/kernel/syscalls/.gitignore
@@ -80,7 +80,6 @@
 /creat/creat06
 /creat/creat07
 /creat/creat08
-/creat/creat09
 /creat/creat07_child
 /dup/dup01
 /dup/dup02
diff --git a/testcases/kernel/syscalls/creat/creat09.c b/testcases/kernel/syscalls/creat/creat09.c
deleted file mode 100644
index 56c8449..0000000
--- a/testcases/kernel/syscalls/creat/creat09.c
+++ /dev/null
@@ -1,183 +0,0 @@
-/*
- * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * Further, this software is distributed without any warranty that it is
- * free of the rightful claim of any third person regarding infringement
- * or the like.  Any license provided herein, whether implied or
- * otherwise, applies only to this software file.  Patent licenses, if
- * any, provided herein do not apply to combinations of this program with
- * other software, or any other product whatsoever.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
- * Mountain View, CA  94043, or:
- *
- * http://www.sgi.com
- *
- * For further information regarding this notice, see:
- *
- * http://oss.sgi.com/projects/GenInfo/NoticeExplan/
- *
- */
-/* $Id: creat09.c,v 1.6 2009/08/28 12:15:15 vapier Exp $ */
-/**********************************************************
- *
- *    OS Test - Silicon Graphics, Inc.
- *
- *    TEST IDENTIFIER	: creat09
- *
- *    EXECUTED BY	: anyone
- *
- *    TEST TITLE	: Basic test for creat(2) using 0700 argument.
- *
- *    PARENT DOCUMENT	: usctpl01
- *
- *    TEST CASE TOTAL	: 1
- *
- *    WALL CLOCK TIME	: 1
- *
- *    CPU TYPES		: ALL
- *
- *    AUTHOR		: William Roske
- *
- *    CO-PILOT		: Dave Fenner
- *
- *    DATE STARTED	: 03/30/92
- *
- *    INITIAL RELEASE	: UNICOS 7.0
- *
- *    TEST CASES
- *
- * 	1.) creat(2) returns...(See Description)
- *
- *    INPUT SPECIFICATIONS
- * 	The standard options for system call tests are accepted.
- *	(See the parse_opts(3) man page).
- *
- *    OUTPUT SPECIFICATIONS
- *$
- *    DURATION
- * 	Terminates - with frequency and infinite modes.
- *
- *    SIGNALS
- * 	Uses SIGUSR1 to pause before test if option set.
- * 	(See the parse_opts(3) man page).
- *
- *    RESOURCES
- * 	None
- *
- *    ENVIRONMENTAL NEEDS
- *      No run-time environmental needs.
- *
- *    SPECIAL PROCEDURAL REQUIREMENTS
- * 	None
- *
- *    INTERCASE DEPENDENCIES
- * 	None
- *
- *    DETAILED DESCRIPTION
- *	This is a Phase I test for the creat(2) system call.  It is intended
- *	to provide a limited exposure of the system call, for now.  It
- *	should/will be extended when full functional tests are written for
- *	creat(2).
- *
- * 	Setup:
- * 	  Setup signal handling.
- *	  Pause for SIGUSR1 if option specified.
- *
- * 	Test:
- *	 Loop if the proper options are given.
- * 	  Execute system call
- *	  Check return code, if system call failed (return=-1)
- *		Log the errno and Issue a FAIL message.
- *	  Otherwise, Issue a PASS message.
- *
- * 	Cleanup:
- * 	  Print errno log and/or timing stats if options given
- *
- *
- *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#**/
-
-#include <sys/types.h>
-#include <sys/fcntl.h>
-#include <errno.h>
-#include <string.h>
-#include <signal.h>
-#include "test.h"
-
-void setup();
-void cleanup();
-
-char *TCID = "creat09";
-int TST_TOTAL = 1;
-
-char fname[255];
-int fd;
-
-int main(int ac, char **av)
-{
-	int lc;
-
-	tst_parse_opts(ac, av, NULL, NULL);
-
-	setup();
-
-	for (lc = 0; TEST_LOOPING(lc); lc++) {
-
-		tst_count = 0;
-
-		TEST(creat(fname, 0700));
-
-		if (TEST_RETURN != -1) {
-			tst_resm(TPASS, "creat(%s, 0700) returned %ld",
-				 fname, TEST_RETURN);
-		} else {
-			tst_resm(TFAIL | TTERRNO, "creat(%s, 0700) FAILED",
-				 fname);
-			continue;
-		}
-
-		/* close and remove file, possibly for next loop */
-		if (close(TEST_RETURN) == -1) {
-			tst_brkm(TBROK | TERRNO, cleanup, "closing %s failed",
-				 fname);
-		} else if (unlink(fname) == -1) {
-			tst_brkm(TBROK | TERRNO, cleanup, "unlinking %s failed",
-				 fname);
-		}
-
-	}
-
-	cleanup();
-
-	tst_exit();
-
-}
-
-void setup(void)
-{
-
-	tst_sig(NOFORK, DEF_HANDLER, cleanup);
-
-	TEST_PAUSE;
-
-	tst_tmpdir();
-
-	sprintf(fname, "tfile_%d", getpid());
-}
-
-void cleanup(void)
-{
-	tst_rmdir();
-}