veyron2, veyron: fix tests to use terminal names correctly.
Change-Id: I6d670cc1eb5d86bf6c9e315b4225c87888557fa6
diff --git a/tools/application/impl/impl_test.go b/tools/application/impl/impl_test.go
index 0029325..8829f13 100644
--- a/tools/application/impl/impl_test.go
+++ b/tools/application/impl/impl_test.go
@@ -107,7 +107,7 @@
cmd := impl.Root()
var stdout, stderr bytes.Buffer
cmd.Init(nil, &stdout, &stderr)
- appName := naming.JoinAddressName(endpoint.String(), "myapp/1")
+ appName := naming.JoinAddressName(endpoint.String(), "//myapp/1")
profile := "myprofile"
// Test the 'Match' command.
diff --git a/tools/profile/impl/impl_test.go b/tools/profile/impl/impl_test.go
index 9435742..8e6deba 100644
--- a/tools/profile/impl/impl_test.go
+++ b/tools/profile/impl/impl_test.go
@@ -116,7 +116,7 @@
cmd := impl.Root()
var stdout, stderr bytes.Buffer
cmd.Init(nil, &stdout, &stderr)
- exists := naming.JoinAddressName(endpoint.String(), "exists")
+ exists := naming.JoinAddressName(endpoint.String(), "//exists")
// Test the 'label' command.
if err := cmd.Execute([]string{"label", exists}); err != nil {