summaryrefslogtreecommitdiff
path: root/tests/t9010-big-sector.sh
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-11-19 11:30:45 +0100
committerJim Meyering <meyering@redhat.com>2010-11-20 17:04:09 +0100
commitd6d9855d714c377d8928582c622a2847ff4de71e (patch)
tree545c468d12de1419d8815e3346fa0f8f9a1a0aff /tests/t9010-big-sector.sh
parent3bbdef285df7ccb47ab2448f41cdd55c08dc244c (diff)
downloadparted-d6d9855d714c377d8928582c622a2847ff4de71e.tar.gz
tests: switch from t-lib.sh to init.sh
* tests/init.cfg: Source t-local.sh. * tests/t-local.sh: Replace trap so that we always run scsi_debug_cleanup_, regardless of the cleanup_ function. Replace each snippet like this: -if test "$VERBOSE" = yes; then - set -x - parted --version -fi - -: ${srcdir=.} -. $srcdir/t-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../parted Use this command (LHS elided, because it was too long): git grep -l 'srcdir/t-lib.sh'|xargs perl -p0i -e \ 's!...!. "\${srcdir=.}/init.sh"; path_prepend_ ../parted\n!' * tests/t3310-flags.sh: Adjust manually, since the snippet didn't quite match.
Diffstat (limited to 'tests/t9010-big-sector.sh')
-rwxr-xr-xtests/t9010-big-sector.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/t9010-big-sector.sh b/tests/t9010-big-sector.sh
index 100cffb..18e0ee1 100755
--- a/tests/t9010-big-sector.sh
+++ b/tests/t9010-big-sector.sh
@@ -16,13 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if test "$VERBOSE" = yes; then
- set -x
- parted --version
-fi
-
-: ${srcdir=.}
-. $srcdir/t-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../parted
require_root_
require_scsi_debug_module_