Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | EPEL 5: Add 1 second pause after unmounting any filesystem.oldlinux | Richard W.M. Jones | 2012-06-27 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | This fixes the test-charset-fidelity test case. A simpler example which fails without this is: guestfish <<EOF sparse test1.img 1G run part-disk /dev/sda mbr mkfs msdos /dev/sda1 mount /dev/sda1 / touch /foo umount / mkfs ntfs /dev/sda1 # Next command would fail: mount /dev/sda1 / vfs-type /dev/sda1 -x EOF | ||||
* | EPEL 5: Add mkisofs to package list. | Richard W.M. Jones | 2012-06-27 | 1 | -0/+1 |
| | | | | | This package contains the 'isoinfo' program which is required to implement the corresponding API and for tests to pass. | ||||
* | EPEL 5: Remove Fedora MD test images. | Richard W.M. Jones | 2012-06-27 | 1 | -14/+1 |
| | | | | | On RHEL 5, mdadm is not able to create md devices with aliases, eg. '/dev/md/boot'. | ||||
* | EPEL 5: sparsify: Fix command line options for old qemu-img. | Richard W.M. Jones | 2012-06-27 | 1 | -8/+6 |
| | | | | This didn't have -o backing_file etc. Use old -b and -F options instead. | ||||
* | EPEL 5: Fix blkid to return "LVM2_member" for PVs. | Richard W.M. Jones | 2012-06-27 | 1 | -0/+20 |
| | | | | Old blkid in RHEL 5 didn't return the right thing for PVs. | ||||
* | EPEL 5: Add "null vmchannel" back for qemu without virtio-serial support. | Richard W.M. Jones | 2012-06-27 | 3 | -66/+233 |
| | |||||
* | EPEL 5: Remove id= from -drive parameter on qemu command line. | Richard W.M. Jones | 2012-06-27 | 1 | -3/+2 |
| | |||||
* | EPEL 5: Pass --preserve-dup-deps explicitly to libtool. | Richard W.M. Jones | 2012-06-27 | 1 | -1/+1 |
| | | | | | See this thread: https://lists.gnu.org/archive/html/bug-gnulib/2012-06/msg00162.html | ||||
* | EPEL 5: Replace format6 with format4 in OCaml gettext routines. | Richard W.M. Jones | 2012-06-27 | 1 | -5/+5 |
| | |||||
* | EPEL 5: Old ocamlopt didn't support debugging (-g option). | Richard W.M. Jones | 2012-06-27 | 4 | -4/+4 |
| | |||||
* | EPEL 5: Add gnulib utimensat module. | Richard W.M. Jones | 2012-06-27 | 2 | -0/+3 |
| | | | | This function is missing in RHEL 5-era kernels. | ||||
* | EPEL 5: Define le64toh if not defined. | Richard W.M. Jones | 2012-06-27 | 1 | -0/+10 |
| | |||||
* | EPEL 5: Remove PHP bindings. | Richard W.M. Jones | 2012-06-27 | 3 | -21/+0 |
| | |||||
* | EPEL 5: Remove GObject / GObject Introspection / GJS bindings. | Richard W.M. Jones | 2012-06-27 | 3 | -113/+0 |
| | |||||
* | EPEL 5: Remove Erlang bindings. | Richard W.M. Jones | 2012-06-27 | 3 | -28/+0 |
| | |||||
* | EPEL 5: Don't use C99-style variable decls in for-loop. | Richard W.M. Jones | 2012-06-27 | 3 | -11/+20 |
| | |||||
* | EPEL 5: Replace macro AC_STRUCT_DIRENT_D_TYPE for ancient autoconf. | Richard W.M. Jones | 2012-06-27 | 1 | -1/+1 |
| | |||||
* | EPEL 5: Remove AS_ECHO_N for ancient autoconf. | Richard W.M. Jones | 2012-06-27 | 1 | -13/+13 |
| | |||||
* | EPEL 5: Remove checks which fail with ancient qemu. | Richard W.M. Jones | 2012-06-27 | 2 | -69/+2 |
| | | | | | Note that g->qemu_version and g->qemu_devices will both be empty strings. | ||||
* | tests: Fix 'run --test' so it cleans up its temporary file. | Richard W.M. Jones | 2012-06-27 | 1 | -2/+2 |
| | | | | This fixes commit 05d4e07918bfa9907a1fa66391e8e2e2370c64d4. | ||||
* | Ensure #include <config.h> occurs in every C file. | Richard W.M. Jones | 2012-06-27 | 8 | -0/+16 |
| | |||||
* | src/actions.c: Include <config.h> in this generated file. | Richard W.M. Jones | 2012-06-27 | 1 | -0/+2 |
| | | | | | | | On RHEL 5, because _GNU_SOURCE was not defined, open_memstream was not being declared, resulting in miscompilation and a segfault in the trace code whenever open_memstream returned a pointer >= 0x80000000 (which would be truncated to a 32 bit int and then sign-extended). | ||||
* | gobject: bindtests: gjs exception behaviour changed, fix test. | Richard W.M. Jones | 2012-06-27 | 1 | -1/+1 |
| | | | | | | | | | When libguestfs calls 'error (g, "error")', gjs in F17 throws error.message == "Error invoking Guestfs.test0rinterr: error" In F18, error.message is simply the string "error". Fix the test so it works for both cases. | ||||
* | Version 1.19.13.1.19.13 | Richard W.M. Jones | 2012-06-26 | 6 | -338/+409 |
| | |||||
* | fuse: Use the ./run --test script to run tests. | Richard W.M. Jones | 2012-06-26 | 2 | -8/+2 |
| | |||||
* | tests: Add ./run --test option. | Richard W.M. Jones | 2012-06-26 | 31 | -38/+64 |
| | | | | | | | This option, when added via TESTS_ENVIRONMENT = [...] $(top_builddir)/run --test allows us to run the tests and only print the full output (including debugging etc) when the test fails. | ||||
* | ./run: Fix indenting for shell script. | Richard W.M. Jones | 2012-06-26 | 1 | -8/+8 |
| | |||||
* | ocaml: Allow parallel mount-local test to be skipped. | Richard W.M. Jones | 2012-06-26 | 1 | -0/+13 |
| | | | | FUSE is not very reliable on RHEL 5. | ||||
* | FAQ: Add Gentoo (thanks Agostino Sarubbo). | Richard W.M. Jones | 2012-06-26 | 1 | -0/+6 |
| | |||||
* | Version 1.19.12.1.19.12 | Richard W.M. Jones | 2012-06-26 | 18 | -146/+193 |
| | |||||
* | launch: Avoid double-close when qemu exits early. | Richard W.M. Jones | 2012-06-26 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | The stdin and stdout of the qemu process are aliased to g->fd: g->fd[0] = wfd[1]; g->fd[1] = rfd[0]; However if the child exits early, then child_cleanup closes g->fd[0], g->fd[1], AND the code at the cleanup1 label closes wfd[1], rfd[0], resulting in a double-close. Avoid this case by setting wfd[1], rfd[0] to -1. In the cleanup1 label, only close wfd[1], rfd[0] if they are not -1, and add the same for g->fd[0], g->fd[1]. | ||||
* | launch: Ensure errno from test_qemu_cmd is captured and printed. | Richard W.M. Jones | 2012-06-26 | 1 | -5/+3 |
| | |||||
* | launch: Set g->sock = -1 to avoid double-close. | Richard W.M. Jones | 2012-06-26 | 1 | -0/+1 |
| | | | | This fixes commit ef5c02c6ee72eb8e127115923951777a2c2b8480. | ||||
* | launch: Log errors from close syscall. | Richard W.M. Jones | 2012-06-26 | 1 | -1/+6 |
| | |||||
* | tests: Add thread IDs to test of bug 790721. | Richard W.M. Jones | 2012-06-26 | 1 | -5/+10 |
| | |||||
* | sysprep: Don't check for /dev/fuse before running the test. | Richard W.M. Jones | 2012-06-25 | 1 | -5/+0 |
| | | | | | The program doesn't actually require FUSE when used without any --script options. | ||||
* | fish: Allow mount-local test to be skipped with environment variable. | Richard W.M. Jones | 2012-06-25 | 1 | -0/+5 |
| | | | | The test uses FUSE, so we need a way to disable it on RHEL 5. | ||||
* | tests: Allow SELinux tests to be skipped with an environment variable. | Richard W.M. Jones | 2012-06-25 | 1 | -0/+6 |
| | |||||
* | Version 1.19.11.1.19.11 | Richard W.M. Jones | 2012-06-25 | 20 | -11533/+11620 |
| | |||||
* | launch: Treat /dev/null specially, for old KVM. | Richard W.M. Jones | 2012-06-25 | 6 | -10/+45 |
| | | | | | | | | | Old KVM can't add /dev/null readonly. Treat /dev/null as a special case. We also fix a few tests where /dev/null was being used with format=qcow2. This was always incorrect behaviour, but qemu appears to tolerate it. | ||||
* | lib: Remove obsolete NETWORK, ROUTER definitions in header file. | Richard W.M. Jones | 2012-06-25 | 1 | -21/+0 |
| | | | | These haven't been used since we switched over to virtio-serial. | ||||
* | Version 1.19.10.1.19.10 | Richard W.M. Jones | 2012-06-22 | 20 | -592/+542 |
| | |||||
* | tests/xml: Fix compilation of test on RHEL 5 with old libvirt. | Richard W.M. Jones | 2012-06-22 | 1 | -2/+9 |
| | | | | | | | | | | | Old <libvirt.h> had a conflicting definition of virDomainGetXMLDesc: fake_libvirt_xml.c:36: error: conflicting types for 'virDomainGetXMLDesc' /usr/include/libvirt/libvirt.h:715: error: previous declaration of 'virDomainGetXMLDesc' was here The difference is not material ('int' vs. 'unsigned int'). Avoid the error by not including <libvirt.h>. | ||||
* | tests: Add workaround for missing O_CLOEXEC. | Richard W.M. Jones | 2012-06-22 | 1 | -0/+4 |
| | |||||
* | tests: Fix broken workarounds for missing O_CLOEXEC. | Richard W.M. Jones | 2012-06-22 | 2 | -2/+2 |
| | |||||
* | test-virt-resize: Replace truncate with guestfish sparse. | Richard W.M. Jones | 2012-06-22 | 1 | -1/+1 |
| | | | | | | | Another instance of 'truncate' command. See commit 39df80dcc0e485e69048bddbf33c259ce532e50d for an explanation. | ||||
* | part-get-bootable: Fix when partitions are missing or unordered (RHBZ#602997). | Richard W.M. Jones | 2012-06-22 | 1 | -4/+16 |
| | | | | | | | | The original fix for this in commit 511c82df46f5c6f4a7f984fdb81d4691038ed6da was not complete, in that it did not fix the case of the old (pre '-m' option) parted. This doesn't matter for Fedora, but it matters for RHEL 5 which has this ancient parted. | ||||
* | ruby: Add a replacement rb_hash_lookup function for Ruby 1.8.5. | Richard W.M. Jones | 2012-06-22 | 3 | -1/+23 |
| | | | | This function was first added to Ruby in 1.8.7. | ||||
* | ruby: Fix libruby test. | Richard W.M. Jones | 2012-06-22 | 1 | -3/+2 |
| | | | | | | If -lruby was not available, this used to define HAVE_LIBRUBY=0. However this meant that the later test -n "$HAVE_LIBRUBY" would be successful, whereas it should fail in this case. | ||||
* | virt-format: Don't call wipefs unless API is available. | Richard W.M. Jones | 2012-06-22 | 1 | -1/+25 |
| | | | | | This API is optional. Don't call it unless it's available in the appliance. |