test: add missing escape backslash in test_declare_external_prereq()
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Mon, 28 Nov 2011 22:41:05 +0000 (02:41 +0400)
committerDavid Bremner <bremner@debian.org>
Thu, 1 Dec 2011 01:23:00 +0000 (17:23 -0800)
test/test-lib.sh

index d7282ff66efa6cc237cfe56d20567a170694ffab..9dcb2d2e2a2bc4a57c4356d182dc59f291e8bd7e 100644 (file)
@@ -557,7 +557,7 @@ test_declare_external_prereq () {
        test_missing_external_prereq_${binary}_=t
 $binary () {
        echo -n \"\$test_subtest_missing_external_prereqs_\" | grep -e \" $name \" ||
-       test_subtest_missing_external_prereqs_=\"$test_subtest_missing_external_prereqs_ $name\"
+       test_subtest_missing_external_prereqs_=\"\$test_subtest_missing_external_prereqs_ $name\"
        false
 }"
 }