mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #2347 from bdarnell/fix-nyet-test
Fix test for existence of go-nyet.
This commit is contained in:
commit
d57e07dcde
2
test
2
test
@ -60,7 +60,7 @@ if [ -n "${vetRes}" ]; then
|
|||||||
exit 255
|
exit 255
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f `which go-nyet` ]; then
|
if command -v go-nyet >/dev/null 2>&1; then
|
||||||
echo "Checking go-nyet..."
|
echo "Checking go-nyet..."
|
||||||
nyetRes=$(go-nyet -exitWith 0 $FMT)
|
nyetRes=$(go-nyet -exitWith 0 $FMT)
|
||||||
if [ -n "${nyetRes}" ]; then
|
if [ -n "${nyetRes}" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user