senf::GenericBSDSocketAddress address;
handle_.readfrom(data, address, 0u);
boost::trim(data);
-
+
executor_.cwd(executor_.chroot());
std::stringstream stream;
try {
nread = 0;
flags = 0;
data = "";
- socket.write("ll");
+ socket.write(std::string("ll"));
timer.timeout(delay(300));
senf::scheduler::process();
BOOST_CHECK_EQUAL( nread, 1 );
nread = 0;
flags = 0;
data = "";
- socket.write("sys");
+ socket.write(std::string("sys"));
timer.timeout(delay(300));
senf::scheduler::process();
BOOST_CHECK_EQUAL( nread, 1 );
nread = 0;
flags = 0;
data = "";
- socket.write("cd sys");
+ socket.write(std::string("cd sys"));
timer.timeout(delay(300));
senf::scheduler::process();
BOOST_CHECK_EQUAL( nread, 1 );
nread = 0;
flags = 0;
data = "";
- socket.write("ll");
+ socket.write(std::string("ll"));
timer.timeout(delay(300));
senf::scheduler::process();
BOOST_CHECK_EQUAL( nread, 1 );