Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

test cases

  • Loading branch information...
commit ae73ddb98a8e0786d308e7bbb9d3a14dcfec66d2 1 parent 8db9381
@tlevine authored
Showing with 44 additions and 187 deletions.
  1. +0 −2  test/Architect
  2. +2 −6 test/Archivist
  3. +1 −4 test/Author
  4. +1 −4 test/Banker
  5. +1 −4 test/Baptised
  6. +0 −3  test/Beach Lion
  7. +1 −4 test/Blacksmith
  8. +1 −4 test/Butcher
  9. +1 −4 test/Caretaker
  10. +1 −4 test/Carpenter
  11. +0 −3  test/Cathedral Architect
  12. +0 −3  test/Cathedral Worker
  13. +0 −3  test/Cherry Picker
  14. +0 −3  test/Chimney Sweeper
  15. +0 −2  test/Cleaning lady
  16. +1 −4 test/Collector
  17. +0 −3  test/Delivery Boy
  18. +1 −4 test/Dentist
  19. +1 −4 test/Fisherman
  20. +0 −3  test/Garage Inventor
  21. +1 −4 test/Gardner
  22. +1 −4 test/Gipsy
  23. +1 −4 test/Goldsmith
  24. +1 −4 test/Historian
  25. +1 −4 test/Homeowner
  26. +1 −4 test/Hunter
  27. +0 −3  test/Inventor ($1)
  28. +1 −4 test/Investigator
  29. +0 −2  test/Let there be light
  30. +1 −5 test/Librarian
  31. +1 −4 test/Locksmith
  32. +1 −4 test/Merchant
  33. +1 −4 test/Messenger
  34. +1 −4 test/Miller
  35. +0 −3  test/News Reader
  36. +1 −4 test/Pedantic
  37. +1 −4 test/Pilgrim
  38. +1 −4 test/Plumber
  39. +1 −4 test/Postman
  40. +1 −4 test/Presenter
  41. +0 −3  test/Product Manager
  42. +9 −4 test/Seamstress
  43. +1 −4 test/Socialite
  44. +0 −3  test/Stamp Collector
  45. +0 −3  test/Stone Mason
  46. +1 −3 test/Student
  47. +1 −4 test/Thug
  48. +1 −4 test/Traveler
  49. +0 −3  test/Tree Trimmer
  50. +1 −4 test/Weaver
  51. +0 −3  test/Web Designer
  52. +1 −1  test/setup
  53. 0  test/teardown
View
2  test/Architect
@@ -1,9 +1,7 @@
#!/bin/bash -i
-. .setup
cd $tmp
git init
cd -
-. .teardown
./.achieved Architect
View
8 test/Archivist
@@ -1,6 +1,2 @@
-#!/bin/bash -i
-set -e
-
-./.rmlog
-git status --help | cat
-./.achieved
+#!/bin/bash
+exit 1
View
5 test/Author
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Banker
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Baptised
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
3  test/Beach Lion
@@ -1,6 +1,3 @@
#!/bin/bash -i
set -e
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Blacksmith
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Butcher
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Caretaker
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Carpenter
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
3  test/Cathedral Architect
@@ -1,6 +1,3 @@
#!/bin/bash -i
set -e
-./.rmlog
-git status --help | cat
-./.achieved
View
3  test/Cathedral Worker
@@ -1,6 +1,3 @@
#!/bin/bash -i
set -e
-./.rmlog
-git status --help | cat
-./.achieved
View
3  test/Cherry Picker
@@ -1,6 +1,3 @@
#!/bin/bash -i
set -e
-./.rmlog
-git status --help | cat
-./.achieved
View
3  test/Chimney Sweeper
@@ -1,6 +1,3 @@
#!/bin/bash -i
set -e
-./.rmlog
-git status --help | cat
-./.achieved
View
2  test/Cleaning lady
@@ -1,5 +1,4 @@
#!/bin/bash -i
-. .setup
cd $tmp
git init
@@ -10,5 +9,4 @@ echo foo > bar
git clean -f
cd -
-. .teardown
./.achieved 'Cleaning lady'
View
5 test/Collector
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
3  test/Delivery Boy
@@ -1,6 +1,3 @@
#!/bin/bash -i
set -e
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Dentist
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Fisherman
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
3  test/Garage Inventor
@@ -1,6 +1,3 @@
#!/bin/bash -i
set -e
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Gardner
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Gipsy
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Goldsmith
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Historian
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Homeowner
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Hunter
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
3  test/Inventor ($1)
@@ -1,6 +1,3 @@
#!/bin/bash -i
set -e
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Investigator
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
2  test/Let there be light
@@ -1,5 +1,4 @@
#!/bin/bash -i
-. .setup
cd $tmp
git init
@@ -8,5 +7,4 @@ git add haystack
git commit haystack -m 'testing Let there be light'
cd -
-. .teardown
./.achieved 'Let there be light'
View
6 test/Librarian
@@ -1,6 +1,2 @@
#!/bin/bash -i
-set -e
-
-./.rmlog
-git status --help | cat
-./.achieved
+exit 1
View
5 test/Locksmith
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Merchant
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Messenger
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Miller
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
3  test/News Reader
@@ -1,6 +1,3 @@
#!/bin/bash -i
set -e
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Pedantic
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Pilgrim
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Plumber
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Postman
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Presenter
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
3  test/Product Manager
@@ -1,6 +1,3 @@
#!/bin/bash -i
set -e
-./.rmlog
-git status --help | cat
-./.achieved
View
13 test/Seamstress
@@ -1,6 +1,11 @@
#!/bin/bash -i
-set -e
-./.rmlog
-git status --help | cat
-./.achieved
+cd $tmp
+git init
+echo needle > haystack
+git add haystack
+git commit haystack -m 'testing Let there be light'
+git commit --amend -m 'testing Seamstress'
+cd -
+
+./.achieved 'Seamstress'
View
5 test/Socialite
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
3  test/Stamp Collector
@@ -1,6 +1,3 @@
#!/bin/bash -i
set -e
-./.rmlog
-git status --help | cat
-./.achieved
View
3  test/Stone Mason
@@ -1,6 +1,3 @@
#!/bin/bash -i
set -e
-./.rmlog
-git status --help | cat
-./.achieved
View
4 test/Student
@@ -1,6 +1,4 @@
#!/bin/bash -i
-set -e
-./.rmlog
git status --help | cat
-./.achieved
+./.achieved Student
View
5 test/Thug
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Traveler
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
3  test/Tree Trimmer
@@ -1,6 +1,3 @@
#!/bin/bash -i
set -e
-./.rmlog
-git status --help | cat
-./.achieved
View
5 test/Weaver
@@ -1,6 +1,3 @@
#!/bin/bash -i
-set -e
+exit 1
-./.rmlog
-git status --help | cat
-./.achieved
View
3  test/Web Designer
@@ -1,6 +1,3 @@
#!/bin/bash -i
set -e
-./.rmlog
-git status --help | cat
-./.achieved
View
2  test/setup 100644 → 100755
@@ -1,4 +1,4 @@
#!/bin/bash -x
-set -e
+#set -e
rm -f ~/.git-achievements.log
export tmp=$(mktemp -d)
View
0  test/teardown 100644 → 100755
File mode changed
Please sign in to comment.
Something went wrong with that request. Please try again.