Commit Diff


commit - c48f94a406682029fa132ede24321b2622641970
commit + 9f31ca1f0edf2d4791f35577d55fc5775fff871b
blob - f46da7c9f9539aa4963df3b758671a48f3c53b41
blob + 3bc64206fdfeff1e282073b8600b3dd9ee701773
--- regress/cmdline/histedit.sh
+++ regress/cmdline/histedit.sh
@@ -2268,11 +2268,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