X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fsemaphore-test.c;h=09547f582008c9ad48d044e7e6cb18c174b266a8;hb=cd0b924f27312d57bd42f6c4fae2b795139e2d0b;hp=d6ec04b46aaad3b0814b7498bb29c28741e281bd;hpb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;p=debian%2Famanda diff --git a/common-src/semaphore-test.c b/common-src/semaphore-test.c index d6ec04b..09547f5 100644 --- a/common-src/semaphore-test.c +++ b/common-src/semaphore-test.c @@ -1,26 +1,26 @@ /* - * Copyright (c) 2005 Zmanda, Inc. All Rights Reserved. + * Copyright (c) 2008,2009 Zmanda, Inc. All Rights Reserved. * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License version 2.1 as - * published by the Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published + * by the Free Software Foundation. * - * This library is distributed in the hope that it will be useful, but + * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public - * License for more details. + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this library; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * Contact information: Zmanda Inc., 465 S Mathlida Ave, Suite 300 - * Sunnyvale, CA 94086, USA, or: http://www.zmanda.com + * Contact information: Zmanda Inc., 465 S. Mathilda Ave., Suite 300 + * Sunnyvale, CA 94085, USA, or: http://www.zmanda.com */ +#include "amanda.h" #include "semaphore.h" #include "testutils.h" -#include "amanda.h" #include "util.h" /* @@ -228,10 +228,10 @@ main(int argc, char **argv) { #if defined(G_THREADS_ENABLED) && !defined(G_THREADS_IMPL_NONE) static TestUtilsTest tests[] = { - TU_TEST(test_decr_wait, 10), - TU_TEST(test_wait_empty, 10), - TU_TEST(test_force_adjust, 10), - TU_TEST(test_force_set, 10), + TU_TEST(test_decr_wait, 90), + TU_TEST(test_wait_empty, 90), + TU_TEST(test_force_adjust, 90), + TU_TEST(test_force_set, 90), TU_END() };