projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
testing: freebsd [travis skip]
[m6w6/libmemcached]
/
test
/
lib
/
Shell.cpp
diff --git
a/test/lib/Shell.cpp
b/test/lib/Shell.cpp
index cd3017acb0a2cb4a323d60c0975a6fb8f9d8c9fd..4d669095d83ca556a0a2a6ec29464f021ea944f9 100644
(file)
--- a/
test/lib/Shell.cpp
+++ b/
test/lib/Shell.cpp
@@
-1,7
+1,6
@@
#include "Shell.hpp"
#include <cstdlib>
#include "Shell.hpp"
#include <cstdlib>
-#include <unistd.h>
bool Shell::run(const string &command_, string &output) {
auto command = prepareCommand(command_);
bool Shell::run(const string &command_, string &output) {
auto command = prepareCommand(command_);
@@
-47,8
+46,8
@@
Shell::Shell(bool redirect_stderr)
}
}
}
}
-Shell::Shell(
const string &
prefix_, bool redirect_stderr)
-: prefix{
prefix_
}
+Shell::Shell(
string
prefix_, bool redirect_stderr)
+: prefix{
move(prefix_)
}
, redirect{redirect_stderr}
{
if (!system(nullptr)) {
, redirect{redirect_stderr}
{
if (!system(nullptr)) {