projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b84829
)
Avoid double call to write/send in test
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 21 Feb 2007 14:01:27 +0000
(14:01 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 21 Feb 2007 14:01:27 +0000
(14:01 +0000)
src/test_pipe.cpp
patch
|
blob
|
history
diff --git
a/src/test_pipe.cpp
b/src/test_pipe.cpp
index
162e673
..
9ff7664
100644
(file)
--- 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)