X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ftest_pipe.cpp;h=9ff7664b0627f4e3c5d2dc7a3a711e04da98bb23;hb=22e6e4f6765448c89785ff70cd84c7364e9cb690;hp=162e673b13ab5014b63aa2fc640c8d6598249c9c;hpb=2b84829b69bc668745a1fed29e8a0447eecce811;p=metaproxy-moved-to-github.git diff --git a/src/test_pipe.cpp b/src/test_pipe.cpp index 162e673..9ff7664 100644 --- a/src/test_pipe.cpp +++ b/src/test_pipe.cpp @@ -1,4 +1,4 @@ -/* $Id: test_pipe.cpp,v 1.9 2007-02-19 12:51:08 adam Exp $ +/* $Id: test_pipe.cpp,v 1.10 2007-02-21 14:01:27 adam Exp $ Copyright (c) 2005-2007, Index Data. See the LICENSE file for details @@ -62,7 +62,7 @@ Timer::Timer(yazpp_1::ISocketObservable *obs, { std::cout << "Error write: "<< strerror(errno) << std::endl; } - BOOST_CHECK_EQUAL(write(m_pipe.write_fd(), "", 1), 1); + BOOST_CHECK_EQUAL(r, 1); } void Timer::socketNotify(int event)