mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-19 10:01:24 +00:00
switch from flags to cobra (#3884)
Signed-off-by: Avi Deitcher <avi@deitcher.net> Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
@@ -15,7 +15,7 @@ clean_up() {
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name "${NAME}" test.yml
|
||||
linuxkit build --format kernel+initrd --name "${NAME}" test.yml
|
||||
[ -f "${NAME}-kernel" ] || exit 1
|
||||
[ -f "${NAME}-initrd.img" ] || exit 1
|
||||
[ -f "${NAME}-cmdline" ]|| exit 1
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env expect
|
||||
spawn linuxkit run hyperkit -squashfs hyperkit-squashfs
|
||||
spawn linuxkit run hyperkit --squashfs hyperkit-squashfs
|
||||
set pid [exp_pid]
|
||||
set timeout 30
|
||||
|
||||
|
@@ -15,7 +15,7 @@ clean_up() {
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+squashfs -name "${NAME}" test.yml
|
||||
linuxkit build --format kernel+squashfs --name "${NAME}" test.yml
|
||||
[ -f "${NAME}-kernel" ] || exit 1
|
||||
[ -f "${NAME}-squashfs.img" ] || exit 1
|
||||
[ -f "${NAME}-cmdline" ]|| exit 1
|
||||
|
@@ -15,7 +15,7 @@ clean_up() {
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name "${NAME}" test.yml
|
||||
linuxkit build --format kernel+initrd --name "${NAME}" test.yml
|
||||
[ -f "${NAME}-kernel" ] || exit 1
|
||||
[ -f "${NAME}-initrd.img" ] || exit 1
|
||||
[ -f "${NAME}-cmdline" ] || exit 1
|
||||
|
Reference in New Issue
Block a user