Commit Diff


commit - d40159dedb256c4362e29173d0ec51fb840d931dc9ec295e42596cf2616631f6
commit + 382a9af4712fd09e47db1ede3dbae7c5139ebd49d68b5db84f5f6829e32be705
blob - 7995b9aa214dda9e60b21adf680a1718b20b84470eeb2791b94059f4b4f69cd9
blob + dcfe5f67934276fba243bfbee7e617c8e7d2aa5db5062a84053e8c542ce15345
--- regress/cmdline/checkout.sh	
+++ regress/cmdline/checkout.sh	
@@ -1151,6 +1151,12 @@ test_checkout_bad_tree_entry() {
 		return 1
 	fi
 
+	if [ -e $testroot/wt/../pwned ]; then
+		echo "unexpected file $testroot/wt/../pwned exists" >&2
+		test_done "$testroot" "1"
+		return 1
+	fi
+
 	(cd $testroot/wt && ls -a > $testroot/stdout)
 
 	cat > $testroot/stdout.expected <<EOF