#!/bin/sh # # Copyright (c) 2006 Shawn Pearce # test_description='mmap sliding window tests' . ./test-lib.sh test_expect_success \ 'setup' \ 'rm -f .git/index* && for i in a b c do echo $i >$i && test-genrandom "$i" 32768 >>$i && git update-index --add $i || return 1 done && echo d >d && cat c >>d && git update-index --add d && tree=$(git write-tree) && commit1=$(git commit-tree $tree