summaryrefslogtreecommitdiff
path: root/source4/lib/replace/test/testsuite.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-15 17:55:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:43:34 -0500
commit8c75df8b2c5c2bc62ed1ef080c2f83f7ce365c09 (patch)
tree64fb3ac23428f66d2f6d90870aa2223761fc2ba0 /source4/lib/replace/test/testsuite.c
parent842e2804d8ab4b3bf0ee9d719204c66464a570ae (diff)
downloadsamba-8c75df8b2c5c2bc62ed1ef080c2f83f7ce365c09.tar.gz
samba-8c75df8b2c5c2bc62ed1ef080c2f83f7ce365c09.tar.bz2
samba-8c75df8b2c5c2bc62ed1ef080c2f83f7ce365c09.zip
r20810: unlink the test file when the test is done
metze (This used to be commit d3e10679afe436b994813e60b117bc42e6c2ed8f)
Diffstat (limited to 'source4/lib/replace/test/testsuite.c')
-rw-r--r--source4/lib/replace/test/testsuite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/replace/test/testsuite.c b/source4/lib/replace/test/testsuite.c
index a5defaf89d..669f825b90 100644
--- a/source4/lib/replace/test/testsuite.c
+++ b/source4/lib/replace/test/testsuite.c
@@ -78,6 +78,7 @@ static int test_ftruncate(void)
(int)st.st_size, size);
return false;
}
+ unlink(TESTFILE);
printf("success: ftruncate\n");
return true;
}