diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-10-17 14:54:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:21:19 -0500 |
commit | 8acb0575c716c8ca680835764cd3bc5483f3707c (patch) | |
tree | 615bf2db4d5bfd2262830e34082b34220503d0fb /source4/lib/replace/test/os2_delete.c | |
parent | d60c86364c396adee36aa5d353aa782bbf26e01e (diff) | |
download | samba-8acb0575c716c8ca680835764cd3bc5483f3707c.tar.gz samba-8acb0575c716c8ca680835764cd3bc5483f3707c.tar.bz2 samba-8acb0575c716c8ca680835764cd3bc5483f3707c.zip |
r19373: Merge changes from subunit branch: Convert libreplace testsuite to a
standalone program that speaks subunit.
(This used to be commit 48d316e7594dfc29b8e6a710e32bb5a6a036b7cf)
Diffstat (limited to 'source4/lib/replace/test/os2_delete.c')
-rw-r--r-- | source4/lib/replace/test/os2_delete.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/replace/test/os2_delete.c b/source4/lib/replace/test/os2_delete.c index 8501e0bb40..c8abfccff9 100644 --- a/source4/lib/replace/test/os2_delete.c +++ b/source4/lib/replace/test/os2_delete.c @@ -21,7 +21,7 @@ static int test_readdir_os2_delete_ret; -#define FAILED(d) (fprintf(stderr, "Failed for %s - %d = %s\n", d, errno, strerror(errno)), test_readdir_os2_delete_ret = 1, 1) +#define FAILED(d) (printf("failure: readdir [\nFailed for %s - %d = %s\n]\n", d, errno, strerror(errno)), test_readdir_os2_delete_ret = 1, 1) #ifndef MIN #define MIN(a,b) ((a)<(b)?(a):(b)) @@ -107,7 +107,7 @@ int test_readdir_os2_delete(void) } closedir(d); - printf("Deleted %d files of %d\n", total_deleted, NUM_FILES); + fprintf(stderr, "Deleted %d files of %d\n", total_deleted, NUM_FILES); rmdir(TESTDIR) == 0 || FAILED("rmdir"); |