monotone

monotone Mtn Source Tree

Root/tests/t_import.at

1# -*- Autoconf -*-
2
3AT_SETUP([importing a file])
4
5MONOTONE_SETUP
6
7AT_DATA(importme, [version 0 of test file
8])
9
10TSHA=`SHA1(importme)`
11
12AT_CHECK(MONOTONE add importme, [], [ignore], [ignore])
13AT_CHECK(MONOTONE --branch=testbranch commit 'blah blah', [], [ignore], [ignore])
14AT_CHECK(MONOTONE cat file $TSHA, [], [stdout])
15AT_CHECK(cmp importme stdout, [], [ignore])
16
17AT_CLEANUP

Archive Download this file

Branches

Tags

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