summaryrefslogtreecommitdiffstats
path: root/test_code/run.sh
diff options
context:
space:
mode:
authorRegina König2020-06-23 10:38:32 +0200
committerRegina König2020-06-23 10:38:32 +0200
commit24142afe265030a68255c8fc926b19e2c2801b23 (patch)
tree2e73908a458656c1df9f420d7f840cd791276857 /test_code/run.sh
parentnew test class for screenbuffer (diff)
downloadmemtest86-24142afe265030a68255c8fc926b19e2c2801b23.tar.gz
memtest86-24142afe265030a68255c8fc926b19e2c2801b23.tar.xz
memtest86-24142afe265030a68255c8fc926b19e2c2801b23.zip
run-script that automatically copies the newest version of memtest applications
into hda-contents before starting machine
Diffstat (limited to 'test_code/run.sh')
-rwxr-xr-xtest_code/run.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/test_code/run.sh b/test_code/run.sh
new file mode 100755
index 0000000..bf88e8c
--- /dev/null
+++ b/test_code/run.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+applications=("TestScreenbuffer.efi" "Memtest86+_UEFI.efi")
+
+for app in "${applications[@]}"
+do
+ cp ../../../../edk/edk2/Build/MdeModule/DEBUG_GCC5/X64/$app hda-contents/
+done
+
+sudo kvm -bios OVMF.fd -hda fat:hda-contents -net none