| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Indent
Shell improvements - use internal function for checks
Use PVs in "" (LV and VG cannot have spaces)
Several test very starting 'dmeventd' without annoucing
it via prepade_dmeventd.
Fix some of test actually.
|
|
|
|
|
|
| |
Cleanup generated files from coverage testing.
Do not skip standard .o compilation for lib/not and lib/harness.
Make a bit longer string in harness to fit new shell/ in.
|
|
|
|
|
| |
Older systems are not able to get this library from lvm2api library and need
this library to be passed to the linker (i.e. Debian Lenny).
|
|
|
|
|
|
| |
Simplify /api makefile and use SUBDIRS target for test dir.
Properly cleanup Makefiles with distclean in /test.
Use symbolic links for shell scripts for non-srcdir compilation.
|
|
|
|
|
|
|
| |
It seems like test-suite is significantly slowed down on removal phase.
Maybe it should be part of generic teardown - though the reason of slowdown
should be also discovered - probably related to retry loop ?
|
| |
|
| |
|
|
|
|
| |
actually creating the VG on-disk.
|
|
|
|
|
|
|
| |
lvseg properties for lvm2app, 'devices' and 'seg_pe_ranges'.
Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Reviewed-by: Petr Rockai <prockai@redhat.com>
|
| |
|
|
|
|
|
| |
Allow bulding of this testing tool also without readline library.
Outputs message about build without readline library then.
|
|
|
|
| |
Do not build lvm2api tests when lvm2api lib is not enabled.
|
| |
|
|
|
|
| |
Fix occasional confusing memory leak report in testing.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- somewhat neater, more consistent and more readable output
- possible to set any lvm.conf value: aux lvmconf "section/key = value"
- LVM_TEST_NODEBUG to suppress the (lengthy) "## DEBUG" output
- back-substitution on test output ($TESTDIR/$PREFIX -> @TESTDIR@/@PREFIX@)
- support code moved from test/ to test/lib/ --> less clutter
|
| |
|
| |
|
|
|
|
| |
As assert macro jumps to 'bad:' label - we need vg initialized.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
lvm2app API. Further factoring of the support code needed. RHBZ 654445
|
|
|
|
|
| |
Signed-off-by: Dave Wysochanski <wysochanski@pobox.com>
Reviewed-by: Petr Rockai <prockai@redhat.com>
|
|
|
|
|
| |
Signed-off-by: Dave Wysochanski <wysochanski@pobox.com>
Reviewed-by: Petr Rockai <prockai@redhat.com>
|
|
|
|
|
| |
Signed-off-by: Dave Wysochanski <wysochanski@pobox.com>
Reviewed-by: Petr Rockai <prockai@redhat.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Usage of VPATH makes troubles when used within $(builddir).
Not only source files are being found through VPATH,
but targets as well. (make --debug=v)
Thus if user builds the code in $(srcdir) and also in some $(builddir)
he gets mangled results as some generated files (i.e. .export.sym)
are 'reused' from $(srcdir) instead of $(builddir).
This patch switches to use vpath were we could explicitly name
suffixes that should be looked via vpath - we must take care,
we do not generate files with these suffixes:
.c, .in, .po, .exported_symbols
|
|
|
|
|
|
|
|
|
| |
Create new substituted variable PTHREAD_LIBS and link this library
only with tools/libs which really needs it - i.e. dmeventd.
Check for libpthread only for builds with clvmd or dmeventd.
Remove variable LIB_PTHREAD
|
|
|
|
|
|
| |
Simple test of vg/lv tag addition/deletion.
Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
|
|
|
|
| |
Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
|
| |
|
| |
|
|
|
|
|
| |
This patch fixes a build with options similar to the following:
./configure --enable-debug --enable-applib --enable-dmeventd --enable-cmdlib
|
|
|
|
| |
We now must commit to disk after lvm_vg_remove().
|
|
|
|
|
|
| |
The test/api directory TARGET line will be reserved for non-interactive
unit tests. Building the interactive test can still be done with "make test"
from the test/api dir.
|
|
|
|
|
| |
More tests to come but for now just call into vgtest.
Fix warning in vgtest.c
|
| |
|
|
|
|
|
|
|
| |
This patch update lv_t handle to be consistent with lvm_t - define as a pointer
to internal struct logical_volume.
Author: Dave Wysochanski <dwysocha@redhat.com>
|
|
|
|
|
|
|
| |
This patch update vg_t handle to be consistent with lvm_t - define as a pointer
to internal struct volume_group.
Author: Dave Wysochanski <dwysocha@redhat.com>
|
|
|
|
| |
Also fix a couple bugs.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Adding the ability to get the seqno is important for an application to
determine if something has changed in a VG. Otherwise, the only way to
know is to open the VG with write permission and hold the handle.
|
| |
|