summaryrefslogtreecommitdiffstats
path: root/capitests/test-command.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Don't use <guestfs-internal.h> in tests.Richard Jones2010-03-161-2/+1
| | | | | It was failing when including this header, as a consequence of earlier commit 1f56debfcfdc35d6b0.
* maint: use EXIT_SUCCESS and EXIT_FAILURE, not 0 and 1 to exitJim Meyering2009-11-201-3/+3
| | | | | | | | | | | | | | | Convert all uses automatically, via these two commands: git grep -l '\<exit *(1)' \ | grep -vEf .x-sc_prohibit_magic_number_exit \ | xargs --no-run-if-empty \ perl -pi -e 's/\b(exit ?)\(1\)/$1(EXIT_FAILURE)/' git grep -l '\<exit *(0)' \ | grep -vEf .x-sc_prohibit_magic_number_exit \ | xargs --no-run-if-empty \ perl -pi -e 's/\b(exit ?)\(0\)/$1(EXIT_SUCCESS)/' * .x-sc_prohibit_magic_number_exit: New file. Edit (RWMJ): Don't change Java code.
* Don't export STREQ and friends in <guestfs.h>Richard Jones2009-11-101-0/+3
| | | | | Move these to private header file(s) and other places as required since these aren't part of the public API.
* use STREQ, not strcmp: part 1Jim Meyering2009-11-091-11/+11
| | | | | git grep -l 'strcmp *([^=]*== *0'|xargs \ perl -pi -e 's/\bstrcmp( *\(.*?\)) *== *0/STREQ$1/g'
* always include <config.h>Jim Meyering2009-08-031-0/+1
| | | | | | * ocaml/guestfs_c.c: Include <config.h>. * examples/to-xml.c: Likewise. * examples/hello.c: Likewise.
* Move C API tests out of root build dir into 'capitests' subdir.Richard W.M. Jones2009-05-281-0/+64