commit b5b4dc30da5b0d78463ce7a7488ea9b5dfc8a1be from: Stefan Sperling via: Thomas Adam date: Sun Jan 29 12:22:48 2023 UTC simplify file content comparison in a regress test; suggested by op@ commit - 630fc61f66dc259068303613f6f3cfc39f1d267f commit + b5b4dc30da5b0d78463ce7a7488ea9b5dfc8a1be blob - 303300dcce6118b66bad71c7d40d3202e1cc6297 blob + b56aef00b5ef212711a9fac73fe979cc88236553 --- regress/cmdline/histedit.sh +++ regress/cmdline/histedit.sh @@ -2276,11 +2276,10 @@ EOF fi echo "alpha" > $testroot/content.expected - cat $testroot/wt/alpha > $testroot/content - cmp -s $testroot/content.expected $testroot/content + cmp -s $testroot/content.expected $testroot/wt/alpha ret=$? if [ $ret -ne 0 ]; then - diff -u $testroot/content.expected $testroot/content + diff -u $testroot/content.expected $testroot/wt/alpha test_done "$testroot" "$ret" return 1 fi