monotone

monotone Mtn Source Tree

Root/tests/t_scan.at

1# -*- Autoconf -*-
2
3AT_SETUP([scanning trees])
4
5MONOTONE_SETUP
6
7AT_CHECK(mkdir foo)
8AT_CHECK(mkdir foo/bar)
9AT_DATA(testfile0, [version 0 of first test file
10])
11
12AT_DATA(foo/testfile1, [version 0 of second test file
13])
14
15AT_DATA(foo/bar/testfile2, [version 0 of third test file
16])
17
18AT_CHECK(MONOTONE add testfile0 foo, [], [ignore], [ignore])
19AT_CHECK(MONOTONE --branch=testbranch commit 'blah blah', [], [ignore], [ignore])
20AT_CHECK(sha1sum foo/bar/testfile2 foo/testfile1 testfile0, [], [stdout])
21AT_CHECK(cmp stdout MT/manifest, [], [ignore])
22
23AT_CLEANUP

Archive Download this file

Branches

Tags

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