veyron/lib/exec: moving the veyron exec library under mgmt.
Change-Id: I1c2baf18aaa7e6eb5175c512b71dc98cc6cafef5
diff --git a/runtimes/google/rt/mgmt.go b/runtimes/google/rt/mgmt.go
index d7fae55..ecb62f1 100644
--- a/runtimes/google/rt/mgmt.go
+++ b/runtimes/google/rt/mgmt.go
@@ -6,9 +6,9 @@
"sync"
"time"
- "veyron/lib/exec"
"veyron/runtimes/google/appcycle"
vflag "veyron/security/flag"
+ "veyron/services/mgmt/lib/exec"
"veyron2"
"veyron2/ipc"
diff --git a/runtimes/google/rt/rt.go b/runtimes/google/rt/rt.go
index 72470fe..805adf4 100644
--- a/runtimes/google/rt/rt.go
+++ b/runtimes/google/rt/rt.go
@@ -7,8 +7,8 @@
"strings"
"sync"
- "veyron/lib/exec"
"veyron/runtimes/google/naming/namespace"
+ "veyron/services/mgmt/lib/exec"
"veyron2"
"veyron2/ipc"
diff --git a/lib/exec/child.go b/services/mgmt/lib/exec/child.go
similarity index 100%
rename from lib/exec/child.go
rename to services/mgmt/lib/exec/child.go
diff --git a/lib/exec/doc.go b/services/mgmt/lib/exec/doc.go
similarity index 100%
rename from lib/exec/doc.go
rename to services/mgmt/lib/exec/doc.go
diff --git a/lib/exec/example_test.go b/services/mgmt/lib/exec/example_test.go
similarity index 100%
rename from lib/exec/example_test.go
rename to services/mgmt/lib/exec/example_test.go
diff --git a/lib/exec/exec_test.go b/services/mgmt/lib/exec/exec_test.go
similarity index 99%
rename from lib/exec/exec_test.go
rename to services/mgmt/lib/exec/exec_test.go
index 47e19b7..6f9082d 100644
--- a/lib/exec/exec_test.go
+++ b/services/mgmt/lib/exec/exec_test.go
@@ -11,9 +11,9 @@
"time"
"veyron/lib/config"
- vexec "veyron/lib/exec"
// Use mock timekeeper to avoid actually sleeping during the test.
"veyron/runtimes/google/testing/timekeeper"
+ vexec "veyron/services/mgmt/lib/exec"
)
// We always expect there to be exactly three open file descriptors
diff --git a/lib/exec/parent.go b/services/mgmt/lib/exec/parent.go
similarity index 100%
rename from lib/exec/parent.go
rename to services/mgmt/lib/exec/parent.go
diff --git a/lib/exec/shared.go b/services/mgmt/lib/exec/shared.go
similarity index 100%
rename from lib/exec/shared.go
rename to services/mgmt/lib/exec/shared.go
diff --git a/lib/exec/util.go b/services/mgmt/lib/exec/util.go
similarity index 100%
rename from lib/exec/util.go
rename to services/mgmt/lib/exec/util.go
diff --git a/lib/exec/util_test.go b/services/mgmt/lib/exec/util_test.go
similarity index 100%
rename from lib/exec/util_test.go
rename to services/mgmt/lib/exec/util_test.go
diff --git a/services/mgmt/node/impl/impl_test.go b/services/mgmt/node/impl/impl_test.go
index a903c63..adb226c 100644
--- a/services/mgmt/node/impl/impl_test.go
+++ b/services/mgmt/node/impl/impl_test.go
@@ -14,11 +14,11 @@
"testing"
"time"
- "veyron/lib/exec"
"veyron/lib/signals"
_ "veyron/lib/testutil"
"veyron/lib/testutil/blackbox"
"veyron/lib/testutil/security"
+ "veyron/services/mgmt/lib/exec"
"veyron/services/mgmt/node"
"veyron/services/mgmt/node/impl"
mtlib "veyron/services/mounttable/lib"
diff --git a/services/mgmt/node/impl/invoker.go b/services/mgmt/node/impl/invoker.go
index 6cbc12a..9e4f19c 100644
--- a/services/mgmt/node/impl/invoker.go
+++ b/services/mgmt/node/impl/invoker.go
@@ -41,9 +41,9 @@
"time"
"veyron/lib/config"
- vexec "veyron/lib/exec"
ibuild "veyron/services/mgmt/build"
"veyron/services/mgmt/lib/binary"
+ vexec "veyron/services/mgmt/lib/exec"
"veyron/services/mgmt/profile"
"veyron2/ipc"
diff --git a/services/mgmt/node/noded/main.go b/services/mgmt/node/noded/main.go
index b993371..f40f457 100644
--- a/services/mgmt/node/noded/main.go
+++ b/services/mgmt/node/noded/main.go
@@ -4,9 +4,9 @@
"flag"
"os"
- "veyron/lib/exec"
"veyron/lib/signals"
vflag "veyron/security/flag"
+ "veyron/services/mgmt/lib/exec"
"veyron/services/mgmt/node"
"veyron/services/mgmt/node/impl"