Skip to content

Commit

Permalink
Make test_bte use standard c functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Ehlers Nyholm Thomsen committed Oct 7, 2009
1 parent 3f46f26 commit 911b222
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/unit/test_bte.cpp
Expand Up @@ -28,7 +28,6 @@
#include <tpie/bte/err.h>
#include <cstring>
#include <cstdlib>
#include <unistd.h>
#include <iostream>
#include <stdint.h>
using namespace tpie::bte;
Expand Down Expand Up @@ -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<int> stream("/tmp/stream", WRITE_STREAM);
return test_bte<stream_stdio<int>,tpie::bte::err>
Expand Down

0 comments on commit 911b222

Please sign in to comment.