commit 5fdcbbb62bc65d9207f8fa4062b856ca904cdcc6 from: Christian Weisgerber date: Tue Mar 14 20:46:05 2023 UTC extent regress test to check content after histedit fold operation commit - 264c43dd284b0d80829cfab1cb95e0eada61b40b commit + 5fdcbbb62bc65d9207f8fa4062b856ca904cdcc6 blob - 4837661a3f1d3724a4c7b8a235329ae2d6330c0f blob + efdeafbe917d9f2c945e958629fc06b7bd9af2ba --- regress/cmdline/histedit.sh +++ regress/cmdline/histedit.sh @@ -1601,6 +1601,16 @@ test_histedit_fold_delete_add() { if [ ! -e $testroot/wt/alpha ]; then echo "file alpha is missing on disk" >&2 test_done "$testroot" "1" + return 1 + fi + + echo "modified alpha" > $testroot/content.expected + cat $testroot/wt/alpha > $testroot/content + cmp -s $testroot/content.expected $testroot/content + ret=$? + if [ $ret -ne 0 ]; then + diff -u $testroot/content.expected $testroot/content + test_done "$testroot" "$ret" return 1 fi test_done "$testroot" "0"