From 911b222bf937cf9e5fd370441f1df9e0bcaa5b56 Mon Sep 17 00:00:00 2001 From: Adam Ehlers Nyholm Thomsen Date: Wed, 7 Oct 2009 14:02:06 +0000 Subject: [PATCH] Make test_bte use standard c functions. --- test/unit/test_bte.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/unit/test_bte.cpp b/test/unit/test_bte.cpp index 7f36ce3e9..684bf7a67 100644 --- a/test/unit/test_bte.cpp +++ b/test/unit/test_bte.cpp @@ -28,7 +28,6 @@ #include #include #include -#include #include #include using namespace tpie::bte; @@ -98,7 +97,7 @@ int test_bte(T & bte, char * test, ERROR_ENUM errorval) { int main(int argc, char **argv) { if(argc != 3) return 1; - unlink("/tmp/stream"); + remove("/tmp/stream"); if(!strcmp(argv[1],"stdio")) { stream_stdio stream("/tmp/stream", WRITE_STREAM); return test_bte,tpie::bte::err>