X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-sys_wait.c;h=7753da3983ec1fb4d72f9ba56f88c6e182822b58;hb=23eecb48e39afd0d267d64d40ba6bf97aa865e13;hp=dce89c6a8b1bbf61b496cc59167bac002c378cbc;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/tests/test-sys_wait.c b/tests/test-sys_wait.c index dce89c6a8..7753da398 100644 --- a/tests/test-sys_wait.c +++ b/tests/test-sys_wait.c @@ -1,5 +1,5 @@ /* Test of substitute. - Copyright (C) 2009-2011 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; }