mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-26 17:19:17 +08:00
use /bin/true instead of /usr/bin/true
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ func TestStaticParams(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// case 2: binary with spaces in its name
|
// case 2: binary with spaces in its name
|
||||||
err = os.Symlink("/usr/bin/true", "/tmp/with space")
|
err = os.Symlink("/bin/true", "/tmp/with space")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("%v", err)
|
t.Fatalf("%v", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user