services/mgmt/device/impl/: update for shell tests
Update TestDebugACLPropagation for changes to modules framework in
https://vanadium-review.googlesource.com/#/c/7060/11
Change-Id: I3a6b4804d4fa4fc48de9839460c919651dc7ebea
diff --git a/services/mgmt/device/impl/debug_acls_test.go b/services/mgmt/device/impl/debug_acls_test.go
index 30eb9a6..f6811c2 100644
--- a/services/mgmt/device/impl/debug_acls_test.go
+++ b/services/mgmt/device/impl/debug_acls_test.go
@@ -28,8 +28,8 @@
defer cleanup()
// Set up the device manager.
- dmh, dms := mgmttest.RunShellCommand(t, sh, nil, deviceManagerCmd, "dm", root, helperPath, "unused_app_repo_name", "unused_curr_link")
- mgmttest.ReadPID(t, dms)
+ dmh := mgmttest.RunCommand(t, sh, nil, deviceManagerCmd, "dm", root, helperPath, "unused_app_repo_name", "unused_curr_link")
+ mgmttest.ReadPID(t, dmh)
claimDevice(t, ctx, "dm", "mydevice", noPairingToken)
// Create the local server that the app uses to let us know it's ready.
@@ -107,6 +107,6 @@
// Cleanly shut down the device manager.
syscall.Kill(dmh.Pid(), syscall.SIGINT)
- dms.Expect("dm terminated")
- dms.ExpectEOF()
+ dmh.Expect("dm terminated")
+ dmh.ExpectEOF()
}