summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-02-26 06:40:46 +0100
committerJim Meyering <meyering@redhat.com>2011-02-26 06:40:46 +0100
commit912b47cd99d2589c9098b4ca1ab57cd74a028f7c (patch)
treecb0221495be64c6fd82672854d2d889954b5a906
parent2d0f3bc1d36268ddaeeb0c1052b5b3a4c76d8503 (diff)
downloadparted-912b47cd99d2589c9098b4ca1ab57cd74a028f7c.tar.gz
tests: move test_description= variable to a comment
test-lib.sh-based tests required a test_description= definition. When testing switched to init.sh, which by convention uses a brief comment on line 2 instead, some instances were not converted. * libparted/tests/t1000-label.sh: Put test description on line 2. Remove now-unused test_description= definition. * libparted/tests/t2000-disk.sh: Likewise. * tests/t0220-gpt-msftres.sh: Likewise.
-rwxr-xr-xlibparted/tests/t1000-label.sh2
-rwxr-xr-xlibparted/tests/t2000-disk.sh2
-rwxr-xr-xtests/t0220-gpt-msftres.sh4
3 files changed, 4 insertions, 4 deletions
diff --git a/libparted/tests/t1000-label.sh b/libparted/tests/t1000-label.sh
index 56b883e..1631193 100755
--- a/libparted/tests/t1000-label.sh
+++ b/libparted/tests/t1000-label.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+# run the label unit tests in a directory supporting O_DIRECT
# Copyright (C) 2007-2011 Free Software Foundation, Inc.
@@ -15,7 +16,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-test_description='run the label unit tests in a directory supporting O_DIRECT'
# This wrapper around the ./label binary is used to find a directory
# in which one can open a file with the O_DIRECT flag.
diff --git a/libparted/tests/t2000-disk.sh b/libparted/tests/t2000-disk.sh
index 9b2f50f..54a4bf4 100755
--- a/libparted/tests/t2000-disk.sh
+++ b/libparted/tests/t2000-disk.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+# run the disk unit tests in a directory supporting O_DIRECT
# Copyright (C) 2007-2011 Free Software Foundation, Inc.
@@ -15,7 +16,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-test_description='run the disk unit tests in a directory supporting O_DIRECT'
# This wrapper around the ./label binary is used to find a directory
# in which one can open a file with the O_DIRECT flag.
diff --git a/tests/t0220-gpt-msftres.sh b/tests/t0220-gpt-msftres.sh
index 9ba30d3..300c26f 100755
--- a/tests/t0220-gpt-msftres.sh
+++ b/tests/t0220-gpt-msftres.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+# gpt default "flag" for a partition must not be msftres
+
# Copyright (C) 2009-2011 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@@ -14,8 +16,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-test_description='gpt default "flag" for a partition must not be msftres'
-
. "${srcdir=.}/init.sh"; path_prepend_ ../parted
ss=$sector_size_