[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v2 09/18] tests/vm/openbsd: Install Bash from the po
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-block] [PATCH v2 09/18] tests/vm/openbsd: Install Bash from the ports |
Date: |
Tue, 29 Jan 2019 18:53:54 +0100 |
Various iotests scripts (run via 'make check-block') use bash
specific extentions. OpenBSD comes with the Korn shell as default.
Install bash to be able to run those tests.
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
tests/vm/openbsd | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/vm/openbsd b/tests/vm/openbsd
index 6263c8956b..e9c2a3f2c8 100755
--- a/tests/vm/openbsd
+++ b/tests/vm/openbsd
@@ -45,6 +45,8 @@ class OpenBSDVM(basevm.BaseVM):
self.wait_ssh()
sys.stderr.write("Disabling W^X on the build partition...\n")
self.ssh_root_check("sed -E -i 's_(/tmp\ ffs)\ ([^\ ]*)_\\1
\\2,wxallowed_' /etc/fstab")
+ sys.stderr.write("Installing bash...\n")
+
self.ssh_root_check("PKG_PATH=https://ftp.openbsd.org/pub/OpenBSD/6.1/packages/amd64
pkg_add bash")
self.ssh_root("shutdown -p now")
self.wait()
--
2.20.1
- [Qemu-block] [PATCH v2 05/18] qemu-iotests: Add dependency to qemu-nbd tool, (continued)
- [Qemu-block] [PATCH v2 05/18] qemu-iotests: Add dependency to qemu-nbd tool, Philippe Mathieu-Daudé, 2019/01/29
- [Qemu-block] [PATCH v2 07/18] tests/multiboot: Improve portability by searching bash in the $PATH, Philippe Mathieu-Daudé, 2019/01/29
- [Qemu-block] [PATCH v2 06/18] qemu-iotests: Improve portability by searching bash in the $PATH, Philippe Mathieu-Daudé, 2019/01/29
- [Qemu-block] [PATCH v2 08/18] tests/bios-tables: Improve portability by searching bash in the $PATH, Philippe Mathieu-Daudé, 2019/01/29
- [Qemu-block] [PATCH v2 09/18] tests/vm/openbsd: Install Bash from the ports,
Philippe Mathieu-Daudé <=
- [Qemu-block] [RFC PATCH v2 10/18] qemu-iotests: Ensure GNU sed is used, Philippe Mathieu-Daudé, 2019/01/29
- [Qemu-block] [PATCH v2 11/18] tests/vm/openbsd: Install GNU sed from the ports, Philippe Mathieu-Daudé, 2019/01/29
- [Qemu-block] [RFC PATCH v2 12/18] test-iov: Disable iov/io test on OpenBSD, Philippe Mathieu-Daudé, 2019/01/29
- [Qemu-block] [RFC PATCH v2 13/18] oslib-posix: Ignore fcntl("/dev/null", F_SETFL, O_NONBLOCK) failure, Philippe Mathieu-Daudé, 2019/01/29
- [Qemu-block] [PATCH v2 14/18] tests/vm: Run tests on OpenBSD, Philippe Mathieu-Daudé, 2019/01/29
- [Qemu-block] [RFC PATCH v2 15/18] iotests: Let verify_platform() check for unsupported platforms, Philippe Mathieu-Daudé, 2019/01/29
- [Qemu-block] [RFC PATCH v2 16/18] iotests: Disable 208 on OpenBSD, Philippe Mathieu-Daudé, 2019/01/29
- [Qemu-block] [RFC PATCH v2 18/18] iotests: Disable 236 and 238 on OpenBSD, Philippe Mathieu-Daudé, 2019/01/29
- [Qemu-block] [RFC PATCH v2 17/18] iotests: Disable 209 on OpenBSD, Philippe Mathieu-Daudé, 2019/01/29