History log of /external/ltp/testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.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/sigwaitinfo/sigwaitinfo01.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/sigwaitinfo/sigwaitinfo01.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/sigwaitinfo/sigwaitinfo01.c
b863a0bd366f8af57b000e2f1da5da0bfd8cebf7 24-Sep-2014 Cyril Hrubis <chrubis@suse.cz> Make use of ARRAY_SIZE()

Created with coccinelle patch:

@@
type T;
T[] E;
@@
- (sizeof(E)/sizeof(*E))
+ ARRAY_SIZE(E)

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.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/sigwaitinfo/sigwaitinfo01.c
d59a659cd639ca2780b00049d102acd2a783d585 07-Mar-2013 Caspar Zhang <caspar@casparzhang.com> s/Tst_count/tst_count/ to avoid CamelCase

when using latest checkpatch.pl, CamelCase variables are not encouraged,
this patch does a batch update to replace all var `Tst_count` with
`tst_count`.

Signed-off-by: Caspar Zhang <caspar@casparzhang.com>
Acked-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.c
359980f68b19c77c698b121b57a071dfe6e3ca31 15-Feb-2013 Jan Stancek <jstancek@redhat.com> rename syscall() macro to ltp_syscall()

This patch renames syscall() macro defined in linux_syscall_numbers.h
to reduce confusion with syscall(2). It also updates all places
where it was previously in use.

Signed-off-by: Jan Stancek <jstancek@redhat.com>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.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/sigwaitinfo/sigwaitinfo01.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/sigwaitinfo/sigwaitinfo01.c
fed9641096e27f79a0f2d9adfe9839dd8d11dc0f 24-Oct-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> Fix FSF address

find . -type f -exec sed -i 's/the Free Software Foundation, Inc., 59/the Free Software Foundation, Inc.,/g;s/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/sigwaitinfo/sigwaitinfo01.c
6061109eb22f20bb3819cc9b57a7f332cbab3e1c 23-Feb-2011 Garrett Cooper <yanegomi@gmail.com> Spruce up whitespace.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.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/sigwaitinfo/sigwaitinfo01.c
ab5336ef01eb436064b5f81e4b2771924ba0ac51 19-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Fix the compile.

The test segfaults on iteration 11 or so with i386.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.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/sigwaitinfo/sigwaitinfo01.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/sigwaitinfo/sigwaitinfo01.c
df3eb16e38c6a163b0a7367c885679eed6140964 29-Nov-2010 Garrett Cooper <yanegomi@gmail.com> Deal with a lot of annoying style nits.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.c
60fa8014af7534eaefa901200c8df4b74ce422e6 22-Nov-2010 Garrett Cooper <yanegomi@gmail.com> More meaningful cleanup with making options parsing errors consistent.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.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/sigwaitinfo/sigwaitinfo01.c
ded2c1e3ab6bd886fc9662314c9ab0a93078fe12 07-Dec-2009 subrata_modak <subrata_modak> New sigwaitinfo test: this is the test for the rt_sigtimedwait et al. functions I promised earlier. The code is unchanged since I sent it for the first time, but the Makefiles are adapted to the new build system, with the help of Garret Cooper. Signed-off-by: Jiri Palecek <jpalecek@web.de>.
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.c