diff options
author | Jim Meyering <meyering@redhat.com> | 2009-07-09 19:07:01 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-07-09 19:23:05 +0200 |
commit | b4bd5b6c1f1cfdbee02820b5dff2a5ec77226bce (patch) | |
tree | ee043379676f14a3e9590407344835d3853899fa /libparted/tests/t1000-label.sh | |
parent | b66c47841420c5295ee0ad39ad9637c78f107960 (diff) | |
download | parted-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/t1000-label.sh')
-rwxr-xr-x | libparted/tests/t1000-label.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libparted/tests/t1000-label.sh b/libparted/tests/t1000-label.sh index 900433f..f77919d 100755 --- a/libparted/tests/t1000-label.sh +++ b/libparted/tests/t1000-label.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 label 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' 'label' |