mirror of
git://sourceware.org/git/lvm2.git
synced 2025-11-23 04:23:49 +03:00
Tidy the shell tests into their own subdir. We now have:
- test/lib -- infrastructure and helper code - test/api -- liblvm2app API tests - test/unit -- C-based unit tests - test/shell -- shell-based functional tests
This commit is contained in:
@@ -29,8 +29,8 @@ include $(top_builddir)/make.tmpl
|
||||
T ?= .
|
||||
S ?= @ # never match anything by default
|
||||
VERBOSE ?= 0
|
||||
ALL = $(shell find $(srcdir) \( -name t-\*.sh -or -path */api/\*.sh \) | sort)
|
||||
RUN = $(shell find $(srcdir) -regextype posix-egrep \( -name t-\*.sh -or -path */api/\*.sh \) -and -regex "$(srcdir)/.*($(T)).*" -and -not -regex "$(srcdir)/.*($(S)).*" | sort)
|
||||
ALL = $(shell find $(srcdir) \( -path \*/shell/\*.sh -or -path \*/api/\*.sh \) | sort)
|
||||
RUN = $(shell find $(srcdir) -regextype posix-egrep \( -path \*/shell/\*.sh -or -path \*/api/\*.sh \) -and -regex "$(srcdir)/.*($(T)).*" -and -not -regex "$(srcdir)/.*($(S)).*" | sort)
|
||||
RUN_BASE = $(subst $(srcdir)/,,$(RUN))
|
||||
|
||||
# Shell quote;
|
||||
@@ -91,6 +91,7 @@ LIB = lib/not lib/should lib/harness \
|
||||
CMDS = lvm $(shell cat $(top_builddir)/tools/.commands)
|
||||
|
||||
.tests-stamp: $(ALL) $(LIB)
|
||||
mkdir -p shell
|
||||
@if test "$(srcdir)" != . ; then \
|
||||
echo "Copying tests to builddir."; \
|
||||
for f in $(ALL); do cp $$f `echo $$f | sed -e s,^$(srcdir)/,,`; done; \
|
||||
|
||||
0
test/t-000-basic.sh → test/shell/000-basic.sh
Executable file → Normal file
0
test/t-000-basic.sh → test/shell/000-basic.sh
Executable file → Normal file
0
test/t-covercmd.sh → test/shell/covercmd.sh
Executable file → Normal file
0
test/t-covercmd.sh → test/shell/covercmd.sh
Executable file → Normal file
0
test/t-lvcreate-large.sh → test/shell/lvcreate-large.sh
Executable file → Normal file
0
test/t-lvcreate-large.sh → test/shell/lvcreate-large.sh
Executable file → Normal file
0
test/t-lvcreate-pvtags.sh → test/shell/lvcreate-pvtags.sh
Executable file → Normal file
0
test/t-lvcreate-pvtags.sh → test/shell/lvcreate-pvtags.sh
Executable file → Normal file
0
test/t-lvcreate-thin.sh → test/shell/lvcreate-thin.sh
Executable file → Normal file
0
test/t-lvcreate-thin.sh → test/shell/lvcreate-thin.sh
Executable file → Normal file
0
test/t-lvcreate-usage.sh → test/shell/lvcreate-usage.sh
Executable file → Normal file
0
test/t-lvcreate-usage.sh → test/shell/lvcreate-usage.sh
Executable file → Normal file
0
test/t-lvextend-percent-extents.sh → test/shell/lvextend-percent-extents.sh
Executable file → Normal file
0
test/t-lvextend-percent-extents.sh → test/shell/lvextend-percent-extents.sh
Executable file → Normal file
0
test/t-lvmcache-exercise.sh → test/shell/lvmcache-exercise.sh
Executable file → Normal file
0
test/t-lvmcache-exercise.sh → test/shell/lvmcache-exercise.sh
Executable file → Normal file
0
test/t-lvresize-rounding.sh → test/shell/lvresize-rounding.sh
Executable file → Normal file
0
test/t-lvresize-rounding.sh → test/shell/lvresize-rounding.sh
Executable file → Normal file
0
test/t-lvresize-usage.sh → test/shell/lvresize-usage.sh
Executable file → Normal file
0
test/t-lvresize-usage.sh → test/shell/lvresize-usage.sh
Executable file → Normal file
0
test/t-mdata-strings.sh → test/shell/mdata-strings.sh
Executable file → Normal file
0
test/t-mdata-strings.sh → test/shell/mdata-strings.sh
Executable file → Normal file
0
test/t-metadata-balance.sh → test/shell/metadata-balance.sh
Executable file → Normal file
0
test/t-metadata-balance.sh → test/shell/metadata-balance.sh
Executable file → Normal file
0
test/t-metadata.sh → test/shell/metadata.sh
Executable file → Normal file
0
test/t-metadata.sh → test/shell/metadata.sh
Executable file → Normal file
0
test/t-mirror-vgreduce-removemissing.sh → test/shell/mirror-vgreduce-removemissing.sh
Executable file → Normal file
0
test/t-mirror-vgreduce-removemissing.sh → test/shell/mirror-vgreduce-removemissing.sh
Executable file → Normal file
0
test/t-pool-labels.sh → test/shell/pool-labels.sh
Executable file → Normal file
0
test/t-pool-labels.sh → test/shell/pool-labels.sh
Executable file → Normal file
0
test/t-pv-range-overflow.sh → test/shell/pv-range-overflow.sh
Executable file → Normal file
0
test/t-pv-range-overflow.sh → test/shell/pv-range-overflow.sh
Executable file → Normal file
0
test/t-pvchange-usage.sh → test/shell/pvchange-usage.sh
Executable file → Normal file
0
test/t-pvchange-usage.sh → test/shell/pvchange-usage.sh
Executable file → Normal file
0
test/t-pvcreate-metadata0.sh → test/shell/pvcreate-metadata0.sh
Executable file → Normal file
0
test/t-pvcreate-metadata0.sh → test/shell/pvcreate-metadata0.sh
Executable file → Normal file
0
test/t-pvcreate-operation.sh → test/shell/pvcreate-operation.sh
Executable file → Normal file
0
test/t-pvcreate-operation.sh → test/shell/pvcreate-operation.sh
Executable file → Normal file
0
test/t-pvcreate-usage.sh → test/shell/pvcreate-usage.sh
Executable file → Normal file
0
test/t-pvcreate-usage.sh → test/shell/pvcreate-usage.sh
Executable file → Normal file
0
test/t-pvmove-basic.sh → test/shell/pvmove-basic.sh
Executable file → Normal file
0
test/t-pvmove-basic.sh → test/shell/pvmove-basic.sh
Executable file → Normal file
0
test/t-pvremove-usage.sh → test/shell/pvremove-usage.sh
Executable file → Normal file
0
test/t-pvremove-usage.sh → test/shell/pvremove-usage.sh
Executable file → Normal file
0
test/t-read-ahead.sh → test/shell/read-ahead.sh
Executable file → Normal file
0
test/t-read-ahead.sh → test/shell/read-ahead.sh
Executable file → Normal file
0
test/t-snapshot-merge.sh → test/shell/snapshot-merge.sh
Executable file → Normal file
0
test/t-snapshot-merge.sh → test/shell/snapshot-merge.sh
Executable file → Normal file
0
test/t-tags.sh → test/shell/tags.sh
Executable file → Normal file
0
test/t-tags.sh → test/shell/tags.sh
Executable file → Normal file
0
test/t-vgchange-sysinit.sh → test/shell/vgchange-sysinit.sh
Executable file → Normal file
0
test/t-vgchange-sysinit.sh → test/shell/vgchange-sysinit.sh
Executable file → Normal file
0
test/t-vgcreate-usage.sh → test/shell/vgcreate-usage.sh
Executable file → Normal file
0
test/t-vgcreate-usage.sh → test/shell/vgcreate-usage.sh
Executable file → Normal file
0
test/t-vgmerge-operation.sh → test/shell/vgmerge-operation.sh
Executable file → Normal file
0
test/t-vgmerge-operation.sh → test/shell/vgmerge-operation.sh
Executable file → Normal file
0
test/t-vgmerge-usage.sh → test/shell/vgmerge-usage.sh
Executable file → Normal file
0
test/t-vgmerge-usage.sh → test/shell/vgmerge-usage.sh
Executable file → Normal file
0
test/t-vgreduce-usage.sh → test/shell/vgreduce-usage.sh
Executable file → Normal file
0
test/t-vgreduce-usage.sh → test/shell/vgreduce-usage.sh
Executable file → Normal file
0
test/t-vgrename-usage.sh → test/shell/vgrename-usage.sh
Executable file → Normal file
0
test/t-vgrename-usage.sh → test/shell/vgrename-usage.sh
Executable file → Normal file
0
test/t-vgsplit-operation.sh → test/shell/vgsplit-operation.sh
Executable file → Normal file
0
test/t-vgsplit-operation.sh → test/shell/vgsplit-operation.sh
Executable file → Normal file
0
test/t-vgsplit-usage.sh → test/shell/vgsplit-usage.sh
Executable file → Normal file
0
test/t-vgsplit-usage.sh → test/shell/vgsplit-usage.sh
Executable file → Normal file
Reference in New Issue
Block a user