OSDN Git Service

tests: set PARTED_TEST_NAME, for valgrind
authorJim Meyering <meyering@redhat.com>
Mon, 6 Feb 2012 14:02:12 +0000 (15:02 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 7 Feb 2012 10:49:36 +0000 (11:49 +0100)
* tests/Makefile.am (PARTED_TEST_NAME): Define.
* tests/t0211-gpt-rewrite-header.sh: Clarify a comment.

tests/Makefile.am
tests/t0211-gpt-rewrite-header.sh

index a7a1633..917ebe7 100644 (file)
@@ -107,6 +107,7 @@ TESTS_ENVIRONMENT =                         \
   PACKAGE_VERSION=$(PACKAGE_VERSION)           \
   CONFIG_HEADER='$(abs_top_builddir)/lib/config.h' \
   ENABLE_DEVICE_MAPPER=$(ENABLE_DEVICE_MAPPER) \
+  PARTED_TEST_NAME=`basename '$(abs_srcdir)'`,`echo $$tst|sed 's,^\./,,;s,/,-,g'`\
   PERL='$(PERL)'                               \
   PREFERABLY_POSIX_SHELL='$(PREFERABLY_POSIX_SHELL)' \
   REPLACE_GETCWD=$(REPLACE_GETCWD)             \
index cfc9de6..85fe5a2 100644 (file)
@@ -31,7 +31,7 @@ dev=loop-file
 # create a file large enough to hold a GPT partition table
 dd if=/dev/null of=$dev bs=$ss seek=$ns || framework_failure
 
-# create a GPT partition table with 9 PTEs.
+# create a GPT partition table with 9 partitions in a standard 128-entry table.
 parted -a min -s $dev mklabel gpt \
     mkpart p1 34s 34s \
     mkpart p2 35s 35s \