summaryrefslogtreecommitdiff
path: root/libparted/tests/t2000-disk.sh
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-07-09 19:07:01 +0200
committerJim Meyering <meyering@redhat.com>2009-07-09 19:23:05 +0200
commitb4bd5b6c1f1cfdbee02820b5dff2a5ec77226bce (patch)
treeee043379676f14a3e9590407344835d3853899fa /libparted/tests/t2000-disk.sh
parentb66c47841420c5295ee0ad39ad9637c78f107960 (diff)
downloadparted-b4bd5b6c1f1cfdbee02820b5dff2a5ec77226bce.tar.gz
tests: better quoting to avoid failure with poorly-named src directory
* libparted/tests/Makefile.am (init.sh): Quote, in case $(abs_top_srcdir) contains e.g., spaces. * tests/Makefile.am (init.sh): Likewise. * libparted/tests/t2000-disk.sh: Better quoting here, too. * libparted/tests/t1000-label.sh: Likewise. Reported by Joel Granados
Diffstat (limited to 'libparted/tests/t2000-disk.sh')
-rwxr-xr-xlibparted/tests/t2000-disk.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/libparted/tests/t2000-disk.sh b/libparted/tests/t2000-disk.sh
index ae261a9..2d074b0 100755
--- a/libparted/tests/t2000-disk.sh
+++ b/libparted/tests/t2000-disk.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2007-2008 Free Software Foundation, Inc.
+# Copyright (C) 2007-2009 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -20,7 +20,7 @@ test_description='run the disk unit tests in a directory supporting O_DIRECT'
# in which one can open a file with the O_DIRECT flag.
: ${top_srcdir=../..}
-. $top_srcdir/tests/test-lib.sh
+. "$top_srcdir/tests/test-lib.sh"
test_expect_success \
'run the actual tests' 'disk'