X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-mknod.c;h=16f48e9dab5c7dd1e35e4d1262380230f271ba5b;hb=aae58b6f7bd0f7c2f38e05eb005b76c164c5c1f7;hp=a62df6d112393938e43cf03ace5b7b100b51cbb1;hpb=987e5651e8d1c5aa933c9ce88562806af4093702;p=gnulib.git diff --git a/tests/test-mknod.c b/tests/test-mknod.c index a62df6d11..16f48e9da 100644 --- a/tests/test-mknod.c +++ b/tests/test-mknod.c @@ -1,5 +1,5 @@ /* Tests of mknod. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 2010 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 @@ -30,6 +30,7 @@ SIGNATURE_CHECK (mknod, int, (char const *, mode_t, dev_t)); #include #include +#include "ignore-value.h" #include "macros.h" #define BASE "test-mknod.t" @@ -47,7 +48,7 @@ int main (void) { /* Remove any leftovers from a previous partial run. */ - ASSERT (system ("rm -rf " BASE "*") == 0); + ignore_value (system ("rm -rf " BASE "*")); /* We can only portably test creation of fifos. Anything else requires root privileges and knowledge of device numbers. */