History log of /external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d6d11d08678aac1ed2c370ea8e42e5f45aea07be 09-Mar-2015 Cyril Hrubis <chrubis@suse.cz> Introduce tst_parse_opts()

The pattern that was used in all testcases is:

const char *msg;

msg = parse_opts(...);
if (msg)
tst_brkm(TBROK, NULL, "OPTION PARSING ERROR - %s", msg);

This change simplifies the steps to just calling:

tst_parse_opts(...);

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
aabb8340f63ed31afe995fd97795e542dc68b93c 04-Feb-2015 Cyril Hrubis <chrubis@suse.cz> Include usctest.h in test.h

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
605fa3362fd7cef0baa2131be32cf44661783d3e 04-Feb-2015 Cyril Hrubis <chrubis@suse.cz> Get rid of TEST_CLEANUP

Special thanks to Coccinelle for making this easy job.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
526fdf8d8ea3b43b73de7cc25eb754f12702c8d2 04-Dec-2014 Cyril Hrubis <chrubis@suse.cz> Change tst_resm() followed by tst_exit() to tst_brkm()

Created with coccinelle patch:

@@
expression list L;
expression C != {TINFO, TPASS};
@@
- tst_resm
+ tst_brkm
(C,
+ NULL,
L);
- tst_exit();

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
4e2bab8415bfd5ddd552220203ed22c93a4617e5 24-Sep-2014 Cyril Hrubis <chrubis@suse.cz> Make use of NULL

Replace all (type *)0 with NULL

Created with coccinelle patch:

@@
type T;
@@
-(T*)0
+NULL

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
8b35601743f74e3199cdd9139b9ff95d00d2833b 24-Sep-2014 Cyril Hrubis <chrubis@suse.cz> Remove tst_exit() that follows tst_brkm()

Removes dead code that is never executed.

Created with coccinelle patch:

@@
@@
tst_brkm(...);
- tst_exit();

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
d218f348c12b42a78fa0306d9a033bfa4f67238b 23-Sep-2014 Cyril Hrubis <chrubis@suse.cz> Remove useless malloc() casts.

Created with coccinelle patch:

@@
expression E1, E2;
type T;
@@
- E1 = (T)malloc(E2)
+ E1 = malloc(E2)

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
0b9589f3f9c0345b29cfcf7da5a1253c708303eb 27-May-2014 Cyril Hrubis <chrubis@suse.cz> testcases: Constify char *msg variable.

The parse_opts() now returns const char * instead of char * this commit
fixes all warnings caused by the change.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
e61ddbaf9b02e1f4f94f4708551ecc825c1ac1d7 10-Apr-2014 Mike Frysinger <vapier@gentoo.org> syscalls: clean up warnings related to prototype mismatches with signal funcs

Should be no real functional change here.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
c57fba5535abf457e33dd7a986b6c512d95cdef6 10-Apr-2014 Mike Frysinger <vapier@gentoo.org> testcases/kernel/syscalls: clean up old style prototypes

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
fdce7d5e2a219d201a2b0e3bab6b61b01ec1d716 04-Apr-2013 Cyril Hrubis <chrubis@suse.cz> Another semiautomated cleanup.

Remove comments such as:

- /* Test program identifier. */

- /* Total number of test cases. */

- /* Extern Global Variables */

- /* Harness Specific Include Files. */

- /* Standard Include Files */

- /* Parse standard options given to run the test. */

- etc.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
354ebb48db8e66a853a58379a4808d5dcd1ceac3 07-Dec-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> cleanup code indent

Cleanup the code indent using:

find . -name *.c -exec Lindent {} \;

It's really a big change, but can fix almost all of
the indent problem in C code, although we can't
ensure all of the changes are right, but the error
changes are really few.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
89af32a63ce8a780ea39337339e14caae244b5a4 24-Oct-2012 Cyril Hrubis <chrubis@suse.cz> Another semiautomated cleanup.

This patch removes all dumbious comments as:

/* loop counter */

/* message returned from from parse_opts */

/* parse standard options */

Various variations on:

int i; /* ... counter .... */

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
4548c6cf9bcdd96d8303caa4130ab638b61f8a30 19-Oct-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> Update FSF address

find . -type f -exec sed -i 's/675 Mass Ave, Cambridge, MA 02139, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;
find . -type f -exec sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
bacc849720ec4efda5a0a8a9ea6a0e93a1415541 14-Jan-2011 Garrett Cooper <yanegomi@gmail.com> Remove references to malloc.h. Sort headers some.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
1e6f5a673655551de5734ff31ef48cd63b604e6d 19-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Resolving all compile errors via a script

This may leave dupe calls to tst_exit in main, but those are easier
to deal (and much less) than no-compile scenarios.

As a side-effect, fix all trailing whitespace issues.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
1569799abe4296fc5ca50ede305c1eb2ac482422 18-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Fix some tests. Remove all externs to Tst_count.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
2c28215423293e443469a07ae7011135d058b671 16-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Style and conformance changes.

1. Strip all leading space.
2. Move tst_exit() to main().
3. Remove tst_exit() from cleanup().
4. Remove cluebat comments.
5. Reduce some unnecessary whitespace.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
45e285d46ab47b0ff76c88acb5ba97b0bd5f753d 22-Nov-2010 Garrett Cooper <yanegomi@gmail.com> Remove useless casts.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
56207cec7732e09c216c751c0b5f88a242bacae6 23-Mar-2009 subrata_modak <subrata_modak> Coding Syle Cleanups. Signed-Off-By: <michal.simek@petalogix.com>.
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
bdbaec51a423e715c2b03ed9e497e9a1fba6103e 26-Feb-2009 subrata_modak <subrata_modak> Clean Trailing Tab: Signed-off-by: Michal Simek <monstr@monstr.eu>.
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
4bb656a129f7507823e9e6d6b98b1a02fd80ef89 26-Feb-2009 subrata_modak <subrata_modak> Clear Trailing Whitespace. Signed-off-by: Michal Simek <monstr@monstr.eu>.
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
43337a3cf6f8809647cf9fc6c0054241f44b1fb1 26-Feb-2009 subrata_modak <subrata_modak> Fix return(0) to return 0. Signed-off-by: Michal Simek <monstr@monstr.eu>.
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
cff4af016805c764c391c473d4c95b999dcdf148 11-Feb-2006 vapier <vapier> remove extraneous whitespace usage in tst_* functions
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
d34d581c6a320e356a6cda923c7aa399479e812c 12-Jul-2005 robbiew <robbiew> Applied fixes by Paul J.Y. Lahaie to implement support for UCLinux
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
a70576c4834d89f937e46698fef4114736cce4d7 04-Mar-2003 robbiew <robbiew> Removed "extern int errno" lines and replaced with "#include <errno.h>"
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
e0cf2e219cc14333329e67865711a945ba341f01 11-Dec-2002 robbiew <robbiew> The getopts() call was returning it's -1 to a char variable. This was incorrect
and causing the test to loop forever on certain architectures.
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c
bd756508f8e37ca662cb28709c2ac6c5631ac7d1 05-Dec-2002 robbiew <robbiew> Initial check-in of mkdir09.
/external/ltp/testcases/kernel/syscalls/mkdir/mkdir09.c