X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-sys_wait.c;h=7753da3983ec1fb4d72f9ba56f88c6e182822b58;hb=dc6d2b5b3652b68d4c62a3875c6960a473b4eaea;hp=6ab3ebfd310b13e7181db006bca2981a8e6e4971;hpb=7470a35bd9ac1cfd41fbf8c1ead1d0cad99225f1;p=gnulib.git diff --git a/tests/test-sys_wait.c b/tests/test-sys_wait.c index 6ab3ebfd3..7753da398 100644 --- a/tests/test-sys_wait.c +++ b/tests/test-sys_wait.c @@ -1,5 +1,5 @@ /* Test of substitute. - Copyright (C) 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2009-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,17 +31,17 @@ main (void) if (test_sys_wait_macros ()) return 1; - switch (0) - { #if 0 + switch (WCONTINUED) + { /* Gnulib doesn't guarantee these, yet. */ case WCONTINUED: case WEXITED: case WNOWAIT: case WSTOPPED: -#endif break; } +#endif return a ? 1 : 0; }