t9155: fix compatibility with older SVN
[gitweb.git] / t / t3301-notes.sh
index 421c9884da8cb1c35f5c20a9dd4ab34abb8ff185..96b75813d73b3fd34a3c96aa9e977594319adb1d 100755 (executable)
@@ -693,7 +693,11 @@ test_expect_success 'create note from non-existing note with "git notes add -c"
        git add a10 &&
        test_tick &&
        git commit -m 10th &&
-       test_must_fail MSG="yet another note" git notes add -c deadbeef &&
+       (
+               MSG="yet another note" &&
+               export MSG &&
+               test_must_fail git notes add -c deadbeef
+       ) &&
        test_must_fail git notes list HEAD
 '