summaryrefslogtreecommitdiff
path: root/libparted
diff options
context:
space:
mode:
authorWang Dong <dongdwdw@linux.vnet.ibm.com>2016-10-26 04:22:49 +0200
committerBrian C. Lane <bcl@redhat.com>2016-12-22 14:26:25 -0800
commit571e078406b59e8dcf02db3e8fe28d8eb4d2cef0 (patch)
tree3532219f2c24d9403ed5e95086917c906dd779bf /libparted
parentb9e12819ecef30087753b967bebc9809120593a6 (diff)
downloadparted-571e078406b59e8dcf02db3e8fe28d8eb4d2cef0.tar.gz
libparted/dasd: add test cases for the new fdasd functions
The test case uses a temporary file in libparted/tests under Check framwork. It can be issued by "make check" in the test dir. Signed-off-by: Wang Dong <dongdwdw@linux.vnet.ibm.com> Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Brian C. Lane <bcl@redhat.com>
Diffstat (limited to 'libparted')
-rw-r--r--libparted/tests/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/libparted/tests/Makefile.am b/libparted/tests/Makefile.am
index c7c10a9..9689fb3 100644
--- a/libparted/tests/Makefile.am
+++ b/libparted/tests/Makefile.am
@@ -3,9 +3,9 @@
#
# This file may be modified and/or distributed without restriction.
-TESTS = t1000-label.sh t2000-disk.sh t2100-zerolen.sh t3000-symlink.sh
+TESTS = t1000-label.sh t2000-disk.sh t2100-zerolen.sh t3000-symlink.sh t4000-volser.sh
EXTRA_DIST = $(TESTS)
-check_PROGRAMS = label disk zerolen symlink
+check_PROGRAMS = label disk zerolen symlink volser
AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
LDADD = \
@@ -23,6 +23,7 @@ label_SOURCES = common.h common.c label.c
disk_SOURCES = common.h common.c disk.c
zerolen_SOURCES = common.h common.c zerolen.c
symlink_SOURCES = common.h common.c symlink.c
+volser_SOURCES = common.h common.c volser.c
# Arrange to symlink to tests/init.sh.
CLEANFILES = init.sh