X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-rmdir.h;h=6d5d56ef2f03961eaff4bea8477de4aa3c21c833;hb=de4d0a383be20eb6cbeb09ecbd66a5514779b914;hp=a85973955495b68110b605ccd2c2ad7af439f5a7;hpb=231bdaf6198a766ae5442fef6f4b8e661d523868;p=gnulib.git diff --git a/tests/test-rmdir.h b/tests/test-rmdir.h index a85973955..6d5d56ef2 100644 --- a/tests/test-rmdir.h +++ b/tests/test-rmdir.h @@ -1,5 +1,5 @@ /* Tests of rmdir. - 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 @@ -25,9 +25,6 @@ static int test_rmdir_func (int (*func) (char const *name), bool print) { - /* Remove any leftovers from a previous partial run. */ - ASSERT (system ("rm -rf " BASE "*") == 0); - /* Setup. */ ASSERT (mkdir (BASE "dir", 0700) == 0); ASSERT (close (creat (BASE "dir/file", 0600)) == 0); @@ -80,8 +77,8 @@ test_rmdir_func (int (*func) (char const *name), bool print) if (symlink (BASE "dir", BASE "link") != 0) { if (print) - fputs ("skipping test: symlinks not supported on this file system\n", - stderr); + fputs ("skipping test: symlinks not supported on this file system\n", + stderr); return 77; } ASSERT (mkdir (BASE "dir", 0700) == 0);