mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix TestEnv
This commit is contained in:
parent
05219d6b52
commit
1a1c89556f
1 changed files with 1 additions and 0 deletions
|
@ -960,6 +960,7 @@ func TestEnv(t *testing.T) {
|
||||||
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||||||
"HOME=/",
|
"HOME=/",
|
||||||
"container=lxc",
|
"container=lxc",
|
||||||
|
"HOSTNAME=" + container.ShortID(),
|
||||||
}
|
}
|
||||||
sort.Strings(goodEnv)
|
sort.Strings(goodEnv)
|
||||||
if len(goodEnv) != len(actualEnv) {
|
if len(goodEnv) != len(actualEnv) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue