Code Review
/
src
/
xds
/
xds-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
22ce6ab
)
Remove dependency of killall
49/17749/2
author
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Tue, 6 Nov 2018 11:18:53 +0000
(12:18 +0100)
committer
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Tue, 6 Nov 2018 14:43:21 +0000
(15:43 +0100)
killall utility is part of psmisc package that is not installed by
default. So use pkill utility instead.
Change-Id: Ib1e46b603560ea8ee6041a52b3c482114ec340ac
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
test/main_test.go
patch
|
blob
|
history
diff --git
a/test/main_test.go
b/test/main_test.go
index
ced75a6
..
273df09
100644
(file)
--- a/
test/main_test.go
+++ b/
test/main_test.go
@@
-85,7
+85,7
@@
func Copy(src, dst string) error {
func initEnv(launchProcess bool) {
if launchProcess {
/*kill xds-server if needed*/
- cmd := exec.Command("
killa
ll", "-9", "xds-server")
+ cmd := exec.Command("
pki
ll", "-9", "xds-server")
if err := cmd.Start(); err != nil {
log.Fatal(err)
}