summaryrefslogtreecommitdiffstats
path: root/fish/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* fish: Make type == drv_N field private to guestfish.Richard W.M. Jones2012-11-291-0/+1
| | | | | The -N option / drv_N type only makes sense when we are compiling guestfish, and just serves to complicate non-guestfish code.
* fish: Add test for remote events.Richard W.M. Jones2012-11-131-0/+2
| | | | | | | This test was present in git, but not included in the tarball, nor in the tests that guestfish actually runs. This fixes commit 17182af3a6de8e3e94e0a914416c54f09bb74007.
* tests: Replace 'make extra-tests' with individual tests.Richard W.M. Jones2012-11-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 'make extra-tests' was a monolithic set of tests that did all sorts of things: valgrind, tests over local guests, tests with upstream qemu, tests with upstream libvirt, tests with the appliance attach method. This made it hard to perform individual tests, eg. just valgrind testing. It was also hard to maintain because the tests were not located in the same directories as the programs and sometimes duplicated tests that were run elsewhere. This commit splits up 'make extra-tests' into 5 separate targets: make check-valgrind # run a subset of tests under valgrind make check-valgrind-local-guests # test under valgrind with local guests make check-with-appliance # test with attach-method == appliance make check-with-upstream-qemu # test with an alternate/upstream qemu make check-with-upstream-libvirt # test with an alternate/upstream libvirt (You can also still run 'make extra-tests' which is now simply a rule that runs the above 5 targets in order). This replaces everything that was in the tests/extra directory, so that has now gone.
* fish: Add simple tests of starting up, inspection, using the prepared disks.Richard W.M. Jones2012-11-131-0/+6
|
* syntax: Use __PATTERNS__ instead of @PATTERNS@ in podwrapper man pages.Richard W.M. Jones2012-10-031-2/+2
| | | | | It is slightly dangerous to use @PATTERNS@, since these might be substituted by autoconf when they appear in Makefile.am files.
* podwrapper: Add --license parameter, which is required.Richard W.M. Jones2012-08-211-0/+5
| | | | | | | | | | This adds standard LICENSE and BUGS sections to all of the man pages that are processed by podwrapper. Modify all the calls to $(PODWRAPPER) to add the right --license parameter according to the content. Note that this relaxes the license on some code example pages, making them effectively BSD-style licensed.
* Mac OS X: Use u_int64_t/uint64_t instead of unsigned hyper in .x fileMasami HIRATA2012-07-241-2/+11
| | | | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> RWMJ: Fixed whitespace in generator_xdr.ml
* build: Rename most C files that contain underscore with dash.Richard W.M. Jones2012-07-191-12/+12
| | | | | | | This is just code motion. Some files cannot be renamed. Notably rpcgen input and output files must not contain dash characters, else rpcgen breaks.
* fish: Rename fish/virt.c to fish/domain.cRichard W.M. Jones2012-07-191-2/+2
| | | | | This file handles the -d option for guestfish and other C command line utilities. Renaming this file makes it less confusing.
* build: Change calls to podwrapper.sh to use $(PODWRAPPER).Richard W.M. Jones2012-07-161-5/+5
| | | | | This will allow us to easily change the location of this script in future.
* run: Set MALLOC_PERTURB_ to a random value.Richard W.M. Jones2012-06-281-5/+1
| | | | | | | | | | | | | | | | | MALLOC_PERTURB_ is a glibc feature which causes malloc to wipe memory before and after it is used, allowing both use-after-free and uninitialized reads to be detected with relatively little performance penalty: http://udrepper.livejournal.com/11429.html?nojs=1 Modify the ./run script so that it always sets this. We were already using MALLOC_PERTURB_ in most tests. Since ./run is now setting this, we can remove it from individual Makefiles. Most TESTS_ENVIRONMENT will now simply look like this: TESTS_ENVIRONMENT = $(top_builddir)/run --test
* tests: Add ./run --test option.Richard W.M. Jones2012-06-261-1/+1
| | | | | | | 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.
* fish: Add a regression test for the 'glob' command.Richard W.M. Jones2012-05-021-0/+2
|
* fish: Add a regression test for mount-local, mount-local-run commands.Richard W.M. Jones2012-03-311-0/+2
|
* fish: Rename tests and make test paths relative.Richard W.M. Jones2012-03-121-10/+10
| | | | | | | | | | 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-*'.
* dist: Distribute all tests, even when configured with --disable-appliance.Richard W.M. Jones2012-03-071-1/+16
|
* fish: In edit command, upload to a new file.Richard W.M. Jones2012-02-101-0/+1
| | | | | | | If the upload fails, this means we don't leave a partially written file. Also add a test for the edit command.
* Do not run appliance-related checks if not building applianceHilko Bengen2012-01-231-3/+7
|
* Replace setting of environment variables with usage of local run scriptHilko Bengen2012-01-231-3/+1
| | | | (Includes fix by RWMJ)
* Tempus fugit.Richard W.M. Jones2012-01-181-1/+1
| | | | Update all copyright dates to 2012.
* tests: Split regressions -> various subdirectories of tests/Richard W.M. Jones2011-12-221-0/+26
|
* fish: Allow events to be processed in guestfish.Richard W.M. Jones2011-12-161-0/+2
| | | | | | | | Add 'event', 'list-events' and 'delete-event' commands so that event handlers can be registered, listed and deleted in guestfish. The event handler is a shell script snippet or host command. Cc: Pádraig Brady <P@draigBrady.com>
* Fix rpcgen post-processing for out-of-tree buildsHilko Bengen2011-12-061-1/+1
|
* Update FSF address.Matthew Booth2011-11-081-1/+1
|
* fish: Make progress bars into a mini library.Richard W.M. Jones2011-08-261-4/+4
| | | | This library could now be called from other virt tools.
* fish: clarify comment: shared source files are used by virt tools too.Richard W.M. Jones2011-08-261-3/+3
|
* fish: Add fish-cmds.h to generator_built.Richard W.M. Jones2011-08-171-0/+1
| | | | This updates commit 3064277680ad11f887691646d0fa17bb35f38c19.
* out-of-tree build: fix documentation generation IIHilko Bengen2011-08-171-2/+2
|
* out-of-tree build: remove unneeded explicit pathsHilko Bengen2011-08-171-4/+4
|
* out-of-tree build: fix documentation generationHilko Bengen2011-08-151-9/+9
|
* fish: Add setenv and unsetenv commands.Richard W.M. Jones2011-08-071-0/+1
| | | | | These commands allow you to manipulate the environment within guestfish.
* fish: Add 'display' command for displaying graphical files.Richard W.M. Jones2011-06-281-0/+1
|
* Enable deprecation warnings on all C programs.Richard W.M. Jones2011-05-171-0/+1
|
* fish: fuse: Remove redundant -DGUESTFS_DEFAULT_PATH.Richard W.M. Jones2011-05-171-1/+0
| | | | | This was left over from earlier code. It is used in the base library, but not in guestfish or guestmount.
* Compile rpcgen-generated files with -fno-strict-aliasingMatthew Booth2011-04-071-4/+4
| | | | | rpcgen generates source which can't be safely compiled with strict-aliasing enabled.
* Add libguestfs-tools.conf file to EXTRA_DIST.Richard W.M. Jones2011-04-011-0/+1
|
* Add /etc/libguestfs-tools.conf configuration file.Richard W.M. Jones2011-03-311-3/+12
| | | | | This allows the default for --ro or --rw to be controlled for the three tools guestfish, guestmount and virt-rescue.
* fish: Add all stamp-*.pod files to CLEANFILES.Richard W.M. Jones2011-03-181-1/+6
|
* New tools: virt-copy-in, virt-copy-out, virt-tar-in, virt-tar-out.Richard W.M. Jones2011-01-031-4/+62
| | | | | Relatively trivial wrappers around the equivalent guestfish commands. Change also includes new man pages.
* Remove ability to build static distribution.Richard W.M. Jones2010-12-061-6/+0
| | | | | | We are now going to build binaries for each distribution so there is no need to build the quasi-distro-independent static binaries any more.
* build: Centralize all POD manipulation in 'podwrapper.sh' script.Richard W.M. Jones2010-11-241-14/+14
|
* static: Use correct libraries for static binaries.Richard W.M. Jones2010-11-131-1/+1
| | | | Also add virt-cat.static target.
* fish: Use core add-domain API to implement '-d' option.Richard Jones2010-11-111-2/+0
| | | | | | This also makes libxml2 and libvirt into optional dependencies. If they are missing then the core API will print an error, as will the '-d' option to guestfish.
* fish: '-i' option automatically handles whole-disk encryption.Richard W.M. Jones2010-11-051-0/+1
| | | | | | | | | | | This feature is also available in guestmount because of the shared option parsing code. You don't need to do anything to enable it, just using -i will attempt decryption of encrypted partitions. Only works for simple Fedora whole-disk encryption. It's a work-in-progress to make it work for other types of encryption.
* fish: Make the 'help' command more helpful.Richard W.M. Jones2010-11-041-0/+1
|
* fish: Use a perfect hash for faster command lookups.Richard W.M. Jones2010-11-031-3/+16
| | | | | | Existing command lookups are approx O(n^2). Replace this with a perfect hash implementation which should be a lot faster.
* Unify guestfish and guestmount options processing (RHBZ#642932).Richard W.M. Jones2010-10-271-3/+12
| | | | | | | | | | | | | | | In guestfish, factor out the processing of the options -a, -c, -d, -i, -m, -n, -r, -v, -V, -x into a separate set of files: options.c, options.h, inspect.c, virt.c. Change guestmount so that it uses these same files (from the ../fish directory) to process the same options. This unifies the handling of these options between the two programs. It also adds the useful inspection feature to guestmount, so you can now do: guestmount -d Guest -i --ro mnt/
* fish: Implement 'hexedit' command.Richard W.M. Jones2010-09-211-0/+1
|
* generator: Generate guestfish-only commands.Richard W.M. Jones2010-09-181-3/+5
| | | | | | The guestfish-only commands such as 'alloc' and 'edit' are now generated from one place in the generator instead of being spread around ad-hoc in the C code.
* fish: Implement copy-in and copy-out commands.Richard Jones2010-09-091-0/+1
|