~quickly/quickly/trunk

« back to all changes in this revision

Viewing changes to data/templates/ubuntu-application/test/save.sh

  • Committer: Michael Terry
  • Date: 2010-10-12 16:43:35 UTC
  • mfrom: (548.2.9 quickly.test)
  • Revision ID: mike@mterry.name-20101012164335-c6vh3ykotkkrm3ll
add many tests; improve test suite; fix various bugs

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
cd /tmp
 
4
 
 
5
rm -rf test-project
 
6
 
 
7
quickly create ubuntu-application test-project
 
8
# Creating bzr repository and committing
 
9
# Congrats, your new project is setup! cd /tmp/test-project/ to start hacking.
 
10
# Creating project directory test-project
 
11
 
 
12
cd test-project
 
13
 
 
14
bzr status
 
15
 
 
16
(echo "Copyright (C) 2010 Oliver Twist <twist@example.com>" > AUTHORS)
 
17
 
 
18
(echo "My super cool project" > README)
 
19
 
 
20
bzr status
 
21
# modified:
 
22
#   AUTHORS
 
23
# unknown:
 
24
#   README
 
25
 
 
26
quickly save
 
27
# adding README
 
28
# Committing to: /tmp/test-project/
 
29
# modified AUTHORS
 
30
# added README
 
31
# Committed revision 2.
 
32
 
 
33
bzr log -r -1 | grep '^  ' | sed 's/^  //'
 
34
# quickly saved
 
35
 
 
36
bzr status
 
37
 
 
38
mkdir new-folder
 
39
 
 
40
(echo "New File!" > new-folder/new-file)
 
41
 
 
42
bzr status
 
43
# unknown:
 
44
#   new-folder/
 
45
 
 
46
quickly save added new-file
 
47
# adding new-folder
 
48
# adding new-folder/new-file
 
49
# Committing to: /tmp/test-project/
 
50
# added new-folder
 
51
# added new-folder/new-file
 
52
# Committed revision 3.
 
53
 
 
54
bzr log -r -1 | grep '^  ' | sed 's/^  //'
 
55
# added new-file