def setup(r):
        contents = '\\n'.join(str(x) for x in range(1, 21)) + '\\n'
        r.addSource('foo', contents=contents)
        r.addSource('bar', contents=contents)
        r.addAction('mkdir subdir; cp foo subdir/; touch subdir/bar')
        r.addPatch('partial.patch')