20 lines
611 B
Bash
Executable File
20 lines
611 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
acceptance_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
|
. "$acceptance_dir/harness.sh"
|
|
acceptance_init
|
|
acceptance_require_commands "the boot acceptance test" expect
|
|
acceptance_copy_disk boot
|
|
|
|
MOUSE_KERNEL_ARGS="console=$MOUSE_CONSOLE root=PARTUUID=4d4f5553-4500-4000-8000-000000000002 rootfstype=btrfs rw rootwait init=/sbin/cheesed mouse.autologin=1 panic=-1 quiet loglevel=3"
|
|
MOUSE_BOOT_MODE=disk
|
|
MOUSE_DISK_IMAGE="$test_disk"
|
|
MOUSE_NETWORK=0
|
|
export MOUSE_KERNEL_ARGS
|
|
export MOUSE_BOOT_MODE
|
|
export MOUSE_DISK_IMAGE
|
|
export MOUSE_NETWORK
|
|
|
|
exec expect "$acceptance_dir/boot.exp" "$runner"
|