monotone

monotone Mtn Source Tree

Root/tests/t_drop.at

1# -*- Autoconf -*-
2
3AT_SETUP([drop and re-add file does nothing])
4
5MONOTONE_SETUP
6
7AT_DATA(maude, [the file maude
8])
9
10AT_DATA(liver, [the file liver
11])
12
13AT_CHECK(MONOTONE add maude, [], [ignore], [ignore])
14AT_CHECK(MONOTONE --branch=testbranch commit 'committed', [], [ignore], [ignore])
15
16AT_CHECK(MONOTONE drop maude, [], [ignore], [ignore])
17AT_CHECK(MONOTONE add maude, [], [ignore], [ignore])
18AT_CHECK(MONOTONE status, [], [stdout])
19AT_CHECK(grep 'no changes' stdout, [], [ignore])
20
21AT_CHECK(MONOTONE add liver, [], [ignore], [ignore])
22AT_CHECK(MONOTONE drop liver, [], [ignore], [ignore])
23AT_CHECK(MONOTONE status, [], [stdout])
24AT_CHECK(grep 'no changes' stdout, [], [ignore])
25
26AT_CLEANUP

Archive Download this file

Branches

Tags

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