diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.in | 3 | ||||
-rw-r--r-- | test/shell/000-basic.sh | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index 915a0b00e..c69b3b673 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -288,6 +288,9 @@ lib/paths: lib/paths-common lib/version-expected: $(top_srcdir)/VERSION .lib-dir-stamp cut -f 1 -d ' ' <$< >$@ +lib/dm-version-expected: $(top_srcdir)/VERSION_DM .lib-dir-stamp + cut -f 1 -d ' ' <$< >$@ + CMDS = lvm $(shell cat $(top_builddir)/tools/.commands 2>/dev/null) LIB = $(addprefix lib/, $(LIB_SHARED) $(LIB_LOCAL) $(LIB_NOT) $(LIB_LINK_NOT) $(LIB_FLAVOURS)) diff --git a/test/shell/000-basic.sh b/test/shell/000-basic.sh index d1c7dc8c6..da84f3e8f 100644 --- a/test/shell/000-basic.sh +++ b/test/shell/000-basic.sh @@ -21,6 +21,11 @@ lvm pvmove --version|sed -n "1s/.*: *\([0-9][^ ]*\) .*/\1/p" | tee version # ensure they are the same diff -u version lib/version-expected +dmstats version |sed -n "1s/.*: *\([0-9][^ ]*\) .*/\1/p" | tee dmstats-version + +# ensure dmstats version matches build +diff -u dmstats-version lib/dm-version-expected + # ensure we can create devices (uses dmsetup, etc) aux prepare_devs 5 |