From: Cyril H. <su...@li...> - 2011-07-15 16:22:41
|
The branch, master, has been updated via 3e22a99a7340b15e647148f2aba66229b12034c5 (commit) from b169eb259f3e126f15a67cca557b570d6d489f33 (commit) - Log ----------------------------------------------------------------- commit 3e22a99a7340b15e647148f2aba66229b12034c5 Author: Peter W Morreale <pmo...@no...> Date: Fri Jul 15 09:38:45 2011 -0600 Delete sigaltstack 9.c Delete the 9.c file from sigaltstack, no longer used. Signed-off-by: Peter W. Morreale <pmo...@no...> ----------------------------------------------------------------------- Summary of changes: .../conformance/interfaces/sigaltstack/9.c | 39 -------------------- 1 files changed, 0 insertions(+), 39 deletions(-) delete mode 100644 testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/9.c diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/9.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/9.c deleted file mode 100644 index 1799a4a..0000000 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/9.c +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) 2002-2003, Intel Corporation. All rights reserved. - * Created by: salwan.searty REMOVE-THIS AT intel DOT com - * This file is licensed under the GPL license. For the full content - * of this license, see the COPYING file at the top level of this - * source tree. - - This is the assistant program for assertion 9. Basically, here we verify - that no alternate stack has been carried over from the program that used - the execl() function to call this program. - -*/ - -#define _XOPEN_SOURCE 600 - -#include <signal.h> -#include <stdio.h> -#include <stdlib.h> -#include "posixtest.h" - -int main(void) { - stack_t alternate_s; - - if (sigaltstack((stack_t *)0, &alternate_s) == -1) { - perror("Unexpected error while attempting to setup test pre-conditions"); - exit(PTS_UNRESOLVED); - } - - if (0 != alternate_s.ss_sp) { - printf("Test FAILED: ss_sp of the stack is not same as the defined one\n"); - exit(PTS_FAIL); - } - - if (0 != alternate_s.ss_size) { - printf("Test FAILED: ss_size of the stack is not same as the defined one\n"); - exit(PTS_FAIL); - } - -} \ No newline at end of file hooks/post-receive -- ltp |