Commit 8e09a16893e9f1d76a82e99d79fbceaabb6f4bd0

Tracey Emery 2021-06-17T14:26:45

fix hang in commit regress test. ok stsp

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/regress/cmdline/commit.sh b/regress/cmdline/commit.sh
index 3956dc0..833165f 100755
--- a/regress/cmdline/commit.sh
+++ b/regress/cmdline/commit.sh
@@ -1380,7 +1380,7 @@ sed -i 's/foo/bar/' "\$1"
 EOF
 	chmod +x $testroot/editor.sh
 
-	(cd $testroot/wt && env EDITOR="$testroot/editor.sh" \
+	(cd $testroot/wt && env VISUAL="$testroot/editor.sh" \
 		got commit -F "$testroot/logmsg" > $testroot/stdout)
 
 	local head_rev=`git_show_head $testroot/repo`