|
|
@ -267,6 +267,7 @@ func runPullTests(t *testing.T, tests []struct {
|
|
|
|
expectFile string
|
|
|
|
expectFile string
|
|
|
|
expectDir bool
|
|
|
|
expectDir bool
|
|
|
|
}, outdir string, additionalFlags string) {
|
|
|
|
}, outdir string, additionalFlags string) {
|
|
|
|
|
|
|
|
t.Helper()
|
|
|
|
for _, tt := range tests {
|
|
|
|
for _, tt := range tests {
|
|
|
|
t.Run(tt.name, func(t *testing.T) {
|
|
|
|
t.Run(tt.name, func(t *testing.T) {
|
|
|
|
cmd := fmt.Sprintf("pull %s -d '%s' --repository-config %s --repository-cache %s --registry-config %s %s",
|
|
|
|
cmd := fmt.Sprintf("pull %s -d '%s' --repository-config %s --repository-cache %s --registry-config %s %s",
|
|
|
|