Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | tests: Add SKIP_TEST_* variables to allow these tests to be skipped. | Richard W.M. Jones | 2012-06-22 | 8 | -0/+40 |
| | | | | | By setting these variables, we can skip tests that fail on RHEL 5. | ||||
* | FAQ: Mention update-guestfs-appliance (thanks Steven Dake). | Richard W.M. Jones | 2012-06-19 | 1 | -0/+4 |
| | |||||
* | build: Workaround for AC_PROG_SED not existing. | Richard W.M. Jones | 2012-06-18 | 1 | -1/+7 |
| | | | | This didn't exist on ancient autoconf in RHEL 5. | ||||
* | build: Define abs_builddir if not defined already. | Richard W.M. Jones | 2012-06-18 | 3 | -0/+9 |
| | | | | | | This is missing on RHEL 5. This updates commit 50aa9533e4a505e1c64dbedddb30491bfbb755d6. | ||||
* | Version 1.19.9.1.19.9 | Richard W.M. Jones | 2012-06-18 | 18 | -325/+325 |
| | |||||
* | fuse: Skip 'truncate' tests if this command is missing. | Richard W.M. Jones | 2012-06-18 | 1 | -9/+12 |
| | |||||
* | tests: Replace truncate command with 'guestfish sparse'. | Richard W.M. Jones | 2012-06-18 | 6 | -7/+13 |
| | | | | | | | | | | RHEL 5 didn't have the truncate command, but we can replace: truncate -s SIZE FILE with the roughly equivalent command: guestfish sparse FILE SIZE | ||||
* | fuse: Add replacement for fuse_opt_add_opt_escaped. | Richard W.M. Jones | 2012-06-18 | 2 | -1/+37 |
| | | | | | | | RHEL 5-era FUSE didn't have this function. I copied the function out of upstream FUSE, since the license is compatible. | ||||
* | build: Define builddir and abs_srcdir when they are missing. | Richard W.M. Jones | 2012-06-18 | 16 | -10/+61 |
| | | | | | | | | | | | | | | | | | | | | | RHEL 5-era autoconf did not define these, so define them manually when they are missing. Define builddir as '.' The scripts require this. It won't work in the srcdir != builddir case, but we don't care about that for RHEL 5. This commit also moves the builddir / abs_srcdir variable setting above the include of subdir-rules.mk, in case that include uses these variables. Useful script: for f in $(find -name Makefile.am | xargs fgrep '$(abs_srcdir)' -l) ; do if ! grep -q '^abs_srcdir' $f; then echo missing in $f fi done | ||||
* | ocaml: Use OCAMLOPTFLAGS when compiling .cmx (ie. native code) files. | Richard W.M. Jones | 2012-06-18 | 3 | -3/+3 |
| | |||||
* | configure: Look for mkisofs as well as genisoimage. | Richard W.M. Jones | 2012-06-18 | 1 | -2/+2 |
| | | | | For our purposes, the two tools are compatible. | ||||
* | Ignore .gdb_history file. | Richard W.M. Jones | 2012-06-14 | 1 | -0/+1 |
| | |||||
* | ppc64: is_openable function needed on all platforms now. | Richard W.M. Jones | 2012-06-14 | 1 | -4/+0 |
| | | | | This fixes commit 295d6af48d1d8c5238d1536b0c6a2ece42b0b445. | ||||
* | Version 1.19.8.1.19.8 | Richard W.M. Jones | 2012-06-14 | 6 | -59/+153 |
| | |||||
* | tests: Add tests for extended attrs and SELinux, direct and via FUSE. | Richard W.M. Jones | 2012-06-14 | 8 | -0/+466 |
| | | | | | | | Note that the SELinux + FUSE test is disabled because of: https://bugzilla.redhat.com/show_bug.cgi?id=811217 https://bugzilla.redhat.com/show_bug.cgi?id=812798#c42 | ||||
* | virtio-scsi: Increase udev timeout. | Richard W.M. Jones | 2012-06-14 | 2 | -2/+2 |
| | | | | | In Koji, when you've got 200+ disks, udev times out before all the udev events have been processed. | ||||
* | virt-edit: Document CVE-2012-2690. | Richard W.M. Jones | 2012-06-14 | 1 | -0/+14 |
| | |||||
* | Require febootstrap >= 3.17. | Richard W.M. Jones | 2012-06-14 | 1 | -1/+1 |
| | |||||
* | Version 1.19.7.1.19.7 | Richard W.M. Jones | 2012-06-13 | 20 | -20919/+21961 |
| | |||||
* | tests: Add a test which adds the maximum number of disks and uses them. | Richard W.M. Jones | 2012-06-13 | 4 | -0/+194 |
| | |||||
* | virt-df: Use guestfs_max_disks instead of hard-coding limit of 25. | Richard W.M. Jones | 2012-06-13 | 3 | -49/+142 |
| | | | | And comprehensively fix it so it works with > 26 disks. | ||||
* | New API: device-index. | Richard W.M. Jones | 2012-06-13 | 3 | -2/+38 |
| | | | | | | This returns the index of the device, eg. /dev/sdb => 1. Or you can think of it as the order that the device was added, or the index of the device in guestfs_list_devices. | ||||
* | New API: guestfs_canonical_device_name. | Richard W.M. Jones | 2012-06-13 | 12 | -122/+117 |
| | | | | This API makes device names canonical, eg. /dev/vda1 -> /dev/sda1. |