[linux-lvm] [PATCH] lvm-utils.sh (init_root_dir_): Correct a diagnostic.
Jim Meyering
jim at meyering.net
Fri Jun 6 12:05:35 UTC 2008
Here's a tiny correction for a test-related script.
Noticed in another context (GNU Parted) that the "$"
must be escaped: that variable is obviously not defined, there.
>From 5c0c3e10efdd46537f6af013b391b4dfa48c3715 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Fri, 6 Jun 2008 13:58:54 +0200
Subject: [PATCH] * lvm-utils.sh (init_root_dir_): Correct a diagnostic.
---
test/lvm-utils.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/lvm-utils.sh b/test/lvm-utils.sh
index b2ef775..2aba445 100644
--- a/test/lvm-utils.sh
+++ b/test/lvm-utils.sh
@@ -1,7 +1,7 @@
# Put lvm-related utilities here.
# This file is sourced from test-lib.sh.
-# Copyright (C) 2007 Red Hat, Inc. All rights reserved.
+# Copyright (C) 2007, 2008 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
@@ -112,7 +112,7 @@ init_root_dir_()
{
test -n "$test_dir_rand_" \
|| error "Internal error: called init_root_dir_ before" \
- " defining $test_dir_rand_"
+ "defining \$test_dir_rand_"
# Define these two globals.
G_root_=$test_dir_rand_/root
--
1.5.6.rc0.30.g7c3f3
More information about the linux-lvm
mailing list