commit - e4db89dadcac32808683a0ec7955ba4a526940dd
commit + 8fedfb3cc9c6c88a5105f3926595d3807da6922d
blob - c8ab494cfea92b7310366f4291dd97e862663b4b
blob + d9de0a7673f283f1652bc23996885ba9b0ee7a76
--- regress/cmdline/commit.sh
+++ regress/cmdline/commit.sh
echo 'test commit_prepared_logmsg' > $testroot/logmsg
- cat > $testroot/editor.sh <<EOF
-#!/bin/sh
-SOPTS='-i ""'
-[ "\$OSTYPE" = "linux-gnu" ] && SOPTS="-i"
-sed "\$SOPTS" -e 's/foo/bar/' "\$1"
-EOF
+ # a no-op editor script
+ > $testroot/editor.sh
chmod +x $testroot/editor.sh
(cd $testroot/wt && env VISUAL="$testroot/editor.sh" \