summaryrefslogtreecommitdiffstats
path: root/fish/test-events.sh
Commit message (Collapse)AuthorAgeFilesLines
* fish: Fix test-events.sh because of new debug message.Richard W.M. Jones2012-10-241-1/+1
| | | | | | Commit 2e90f4312928f332f8997b52be3fe54f20920242 added a debug message which isn't filtered out by the set of grep -v's in this test. Therefore this test would fail when run with LIBGUESTFS_DEBUG=1.
* New API: guestfs_shutdown: Cleanly shutdown the backend.Richard W.M. Jones2012-07-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | The new API splits orderly close into a two-step process: if (guestfs_shutdown (g) == -1) { /* handle the error, eg. qemu error */ } guestfs_close (g); Note that the explicit shutdown step is only necessary in the case where you have made changes to the disk image and want to handle write errors. Read the documentation for further information. This change also: - deprecates guestfs_kill_subprocess - turns guestfs_kill_subprocess into the same as guestfs_shutdown - changes guestfish and other tools to call shutdown + close where necessary (not for read-only tools) - updates documentation - updates examples
* fish: Rename tests and make test paths relative.Richard W.M. Jones2012-03-121-0/+82
When these tests were originally in the old regressions/ directory, they used to refer to guestfish via the path '../fish/guestfish'. Some of the tests were also called 'test-guestfish-*'. Now that the tests have been moved into the fish/ directory, neither of these things make sense. So change the relative path to './guestfish' and rename all 'test-guestfish-*' as 'test-*'.