search for: test_mod

Displaying 20 results from an estimated 23 matches for "test_mod".

Did you mean: test_mode
2012 Sep 20
1
[PATCH 1/2] ./run: Make sure that the temporary directory exists so test scripts can produce output files
--- run.in | 1 + 1 file changed, 1 insertion(+) diff --git a/run.in b/run.in index ed4971b..548ac20 100644 --- a/run.in +++ b/run.in @@ -51,6 +51,7 @@ b=@abs_builddir@ # # chcon --reference=/tmp tmp export TMPDIR="$b/tmp" +mkdir -p "$b/tmp" # Set local environment relative to this script. export LIBGUESTFS_PATH="$b/appliance" -- 1.7.10.4
2015 Nov 05
1
[PATCH v2] build: Drop serial_tests.
I pushed the (hopefully) completely non-controversial bits upstream: https://github.com/libguestfs/libguestfs/commit/8a72616bf7bc686ad4d033482541fcd73c148b53 https://github.com/libguestfs/libguestfs/commit/b20d36aa1bcabfe1e5eefcf47b727280a6474be8 This patch is what remains. Rich.
2015 Nov 06
1
[PATCH v3] build: Drop serial_tests.
Same as v2, except: - Drop the RUN_OUTPUT_FILE functionality completely. It will be replaced with enhanced .trs files as discussed. - Rebase on head. Rich.
2015 Jun 23
10
[PATCH 0/7] Better testing of the guestfsd daemon.
Currently we are unable to properly run guestfsd (the daemon) under valgrind. Attempts to run valgrind inside the appliance have not been successful (see patch 1/7). However we desperately need better valgrind coverage of the daemon, particularly because it is doing a lot of complex parsing of program output. This has been a problem for a long time. A better way to attack this problem is to
2016 Jul 26
5
[PATCH v2 0/4] Improve LVM handling in the appliance
Hi, this series improves the way LVM is used in the appliance: in particular, now lvmetad can eventually run at all, and with the correct configuration. Also improve the listing strategies. Changes in v2: - dropped patch #5, will be sent separately - move lvmetad statup in own function (patch #2) Thanks, Pino Toscano (4): daemon: lvm-filter: set also global_filter daemon: lvm-filter:
2015 Jun 25
13
[PATCH v2 0/9] Better testing of the guestfsd daemon.
In v2: - Kernel command line parsing now moved to the appliance. - In the captive daemon test, the daemon cleanly shuts down on exit. - Add another btrfs test. Rich.
2007 Jan 15
1
Bug#406973: logtail misses lines in rotated file
...logtail depends on: ii perl 5.8.4-8sarge5 Larry Wall's Practical Extraction -------------- next part -------------- --- logtail.orig 2006-12-28 13:35:10.000000000 +0100 +++ logtail 2007-01-15 11:54:45.000000000 +0100 @@ -27,7 +27,7 @@ # process args and switches my ($TEST_MODE) = 0; -getopts("f:o:t", \%opts); +getopts("f:o:a:t", \%opts); # try to detect plain logtail invocation without switches if (!$opts{f} && $#ARGV != 0 && $#ARGV != 1) { @@ -80,6 +80,20 @@ print STDERR "Cannot get $logfile file size.\n", $log...
2016 Sep 08
0
[PATCH 3/3] daemon: drop program_name definition
...fsd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index b129ad0..85ce5d2 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -125,9 +125,6 @@ int autosync_umount = 1; /* If set, we are testing the daemon as part of the libguestfs tests. */ int test_mode = 0; -/* Not used explicitly, but required by the gnulib 'error' module. */ -const char *program_name = "guestfsd"; - /* Name of the virtio-serial channel. */ #define VIRTIO_SERIAL_CHANNEL "/dev/virtio-ports/org.libguestfs.channel.0" -- 2.7.4
2013 Aug 20
0
disable message "Log file is smaller"
...ase, when a log file is smaller. We would like to introduce new flag to disable the warning message. Please, accept the attached patch. --- /usr/sbin/logtail 2010-09-03 11:25:15.000000000 +0300 +++ logtail 2013-08-20 12:38:22.000000000 +0300 @@ -27,7 +27,7 @@ # process args and switches my ($TEST_MODE) = 0; -getopts("f:o:t", \%opts); +getopts("f:o:t:r", \%opts); # try to detect plain logtail invocation without switches if (!$opts{f} && $#ARGV != 0 && $#ARGV != 1) { @@ -84,7 +84,8 @@ if ($inode == $ino) { exit 0 if $offset == $size; # short...
2019 Aug 01
13
[PATCH v2 00/11] VSOCK: add vsock_test test suite
The vsock_diag.ko module already has a test suite but the core AF_VSOCK functionality has no tests. This patch series adds several test cases that exercise AF_VSOCK SOCK_STREAM socket semantics (send/recv, connect/accept, half-closed connections, simultaneous connections). Stefan: Do you think we should have a single application or is better to split it in single tests (e.g.
2012 Aug 11
2
Extending Puppet Woes
...nd how the mysql is being executed with mysql? debug: Puppet::Type::Database::ProviderMysql: Executing ''/usr/bin/mysql -u admin -p''password'' -h vm-minux.comm.com -NBev create database mydb character set utf8'' err: /Stage[main]//Node[ssat-puppetagent-1.qcomm.com]/Test_mod::Db[mydb]/Database[mydb]/ensure: change from absent to present failed: Execution of ''/usr/bin/mysql -u admin -p''password'' -h vm-mlinux.qcomm.com -NBev create database mydb character set utf8'' returned 1: ERROR 1044 (42000): Access denied for user '''...
2018 May 24
1
[PATCH] daemon: Move creating of LVM_SYSTEM_DIR into the appliance/init script.
This patch reworks how we start up LVM and lvmetad. It fixes the problem we had converting a guest which had a peculiar LVM configuration: https://bugzilla.redhat.com/show_bug.cgi?id=1581810#c14 However please note I have NOT yet tested it fully. Rich.
2019 Dec 18
13
[PATCH net-next v3 00/11] VSOCK: add vsock_test test suite
The vsock_diag.ko module already has a test suite but the core AF_VSOCK functionality has no tests. This patch series adds several test cases that exercise AF_VSOCK SOCK_STREAM socket semantics (send/recv, connect/accept, half-closed connections, simultaneous connections). The v1 of this series was originally sent by Stefan. v3: - Patch 6: * check the byte received in the recv_byte() * use
2015 Dec 02
0
[ANNOUNCE] intel-gpu-tools 1.13
...lib/igt_fb: fix igt_create_fb_with_bo_size() documentation lib/igt_fb: fix open-coded ALIGN() lib/igt_fb: also pass the stride to igt_create_fb_with_bo_size() kms_frontbuffer_tracking: do page flips using the planes API kms_frontbuffer_tracking: move flip_type to struct test_mode kms_frontbuffer_tracking: expand badstride and stridechange kms_frontbuffer_tracking: assert the stride changes at stridechange() kms_frontbuffer_tracking: add tilingchange subtest Robert Beckett (1): tests/gem_storedw_loop: Fix use after free for bufmgr Rodrigo Vivi (1):...
2015 Nov 05
1
[PATCH 1/2] test-data: phony-guests: Don't use *.tmp.* temporary files.
--- test-data/phony-guests/Makefile.am | 3 +-- test-data/phony-guests/make-archlinux-img.sh | 4 ++-- test-data/phony-guests/make-coreos-img.sh | 10 ++++---- test-data/phony-guests/make-debian-img.sh | 10 ++++---- test-data/phony-guests/make-fedora-img.pl | 34 ++++++++++++++-------------- test-data/phony-guests/make-ubuntu-img.sh | 14 ++++++------
2018 May 24
2
[PATCH v2] daemon: Move lvmetad to early in the appliance boot process.
...stfsd.c b/daemon/guestfsd.c index 68d3de2ec..ae428e573 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -233,14 +233,6 @@ main (int argc, char *argv[]) _umask (0); #endif - /* Make a private copy of /etc/lvm so we can change the config (see - * daemon/lvm-filter.c). - */ - if (!test_mode) { - clean_lvm_config (); - start_lvmetad (); - } - /* Connect to virtio-serial channel. */ if (!channel) channel = VIRTIO_SERIAL_CHANNEL; diff --git a/daemon/lvm-filter.c b/daemon/lvm-filter.c index ad85a7cc4..1ea5ad8ab 100644 --- a/daemon/lvm-filter.c +++ b/daemon/lvm-filter.c...
2017 Jul 26
5
[PATCH 0/2] daemon: Reimplement handling of lvm.conf and filters.
Simplify how we handle lvm.conf.
2016 Sep 08
4
[PATCH 0/3] Use gnulib's getprogname
Hi, this series update libguestfs to a recent gnulib version, so that we can use its new getprogname module, and solve altogether one of the porting issues (the need for 'program_name' by the error module of gnulib), and have a single way to get the name of the current program. A number of changes in tools mostly, although mechanical. Thanks, Pino Toscano (3): Update gnulib to latest
2017 Aug 03
9
[PATCH 0/6] tests: Fix handling of device API parameters (RHBZ#1477623).
https://bugzilla.redhat.com/show_bug.cgi?id=1477623 The first two patches are cleanups. The third patch changes the way that we handle Device and Dev_or_Path parameters so that a parameter marked as such can really only contain a block device name (and not, for instance, a chardev). Using a chardev here caused hangs in the API. The next two patches fix API usage to conform to this new stricter
2017 Jul 24
6
[PATCH 0/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
Replace GUESTFSD_EXT_CMD with a command line option ‘./guestfsd --print-external-commands’