Make dockerd debuggable

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard
2016-04-23 18:31:57 -07:00
commit c6919a6e79
10 changed files with 263 additions and 0 deletions

13
flags_test.go Normal file
View File

@ -0,0 +1,13 @@
package main
import (
"sort"
"testing"
)
// Tests if the subcommands of docker are sorted
func TestDockerSubcommandsAreSorted(t *testing.T) {
if !sort.IsSorted(byName(dockerCommands)) {
t.Fatal("Docker subcommands are not in sorted order")
}
}