Displaying 3 results from an estimated 3 matches for "generate_fish_test_prep_sh".
2016 May 19
0
[PATCH 3/3] fish: generate test-prep.sh with generator
...ootrootlv:/dev/VG3/LV \
- exit
-
-rm prep*.img
diff --git a/generator/fish.ml b/generator/fish.ml
index 646674d..980f55f 100644
--- a/generator/fish.ml
+++ b/generator/fish.ml
@@ -1106,3 +1106,36 @@ event_bitmask_of_event_set (const char *arg, uint64_t *eventset_r)
return 0;
}
"
+
+and generate_fish_test_prep_sh () =
+ pr "#!/bin/bash -\n";
+ generate_header HashStyle GPLv2plus;
+
+ let all_disks = sprintf "prep{1..%d}.img" (List.length prepopts) in
+
+ pr "\
+set -e
+
+rm -f %s
+
+$VG guestfish \\
+" all_disks;
+
+ let vg_count = ref 0 in
+
+ iteri (
+ fun i (name, _...
2016 May 19
6
[PATCH 0/3] misc tests-only changes
Hi,
small series with small improvements to the tests.
Pino Toscano (3):
tests: specify the image format when possible
tests: remove remaining relative paths to binaries
fish: generate test-prep.sh with generator
.gitignore | 1 +
align/test-virt-alignment-scan.sh | 2 +-
cat/Makefile.am | 2 +-
cat/test-virt-cat.sh
2017 Feb 20
3
[PATCH 0/3] tests: Define common test functions.
Previously I posted a work-in-progress preview of this patch series:
https://www.redhat.com/archives/libguestfs/2017-February/msg00224.html
This is the finished version that updates all of the shell-script
based tests. It passes 'make check', 'make check-direct' and
'make check-slow'.
Rich.