1
0

Use configuration file for tests instead of hardcoded kernel/qcow2 path

This commit is contained in:
2018-09-21 01:00:17 +00:00
parent ab7a1d5d75
commit a33d658001
3 changed files with 52 additions and 6 deletions

8
test.config.go Normal file
View File

@ -0,0 +1,8 @@
// Copyright 2018 Mikhail Klementev. All rights reserved.
// Use of this source code is governed by a GPLv3 license
// (or later) that can be found in the LICENSE file.
package qemukernel
const testConfigVmlinuz = "tools/qemu-debian-img/vmlinuz-bionic"
const testConfigRootfs = "tools/qemu-debian-img/bionic.img"