mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

We weren't checking for PrevNode being nil in the v1 code path. Do this and add a test. Fixes #557
28 lines
454 B
Bash
Executable File
28 lines
454 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
. ./build
|
|
|
|
go test -i ./http
|
|
go test -v ./http
|
|
|
|
go test -i ./store
|
|
go test -v ./store
|
|
|
|
go test -i ./server
|
|
go test -v ./server
|
|
|
|
go test -i ./config
|
|
go test -v ./config
|
|
|
|
go test -i ./server/v1/tests
|
|
go test -v ./server/v1/tests
|
|
|
|
go test -i ./server/v2/tests
|
|
go test -v ./server/v2/tests
|
|
|
|
go test -i ./mod/lock/v2/tests
|
|
go test -v ./mod/lock/v2/tests
|
|
|
|
go test -i ./tests/functional
|
|
ETCD_BIN_PATH=$(pwd)/bin/etcd go test -v ./tests/functional
|