monotone

monotone Mtn Source Tree

Root/tests/t_cwork.at

1# -*- Autoconf -*-
2
3AT_SETUP([delete work file on checkout])
4
5MONOTONE_SETUP
6
7AT_DATA(testfile0, [version 0 of first test file
8])
9AT_DATA(testfile1, [version 1 of second test file
10])
11
12AT_CHECK(MONOTONE add testfile0, [], [ignore], [ignore])
13AT_CHECK(MONOTONE --branch=testbranch commit 'blah blah', [], [ignore], [ignore])
14V1=`SHA1(MT/manifest)`
15AT_CHECK(MONOTONE add testfile1, [], [ignore], [ignore])
16AT_CHECK(test -e MT/work, [], [ignore])
17AT_CHECK(MONOTONE checkout $V1 ., [], [ignore], [ignore])
18AT_CHECK(test ! -e MT/work, [], [ignore])
19
20AT_CLEANUP

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status