Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

more tests

  • Loading branch information...
commit 779b46be49cd0658199112713487739287450f4a 1 parent 8f92d2e
@tlevine authored
Showing with 26 additions and 66 deletions.
  1. +9 −2 test/Cathedral Architect
  2. +7 −62 test/Garage Inventor
  3. +10 −2 test/News Reader
View
11 test/Cathedral Architect 100644 → 100755
@@ -1,3 +1,10 @@
-#!/bin/bash -i
-set -e
+#!/bin/sh
+bash -ic '
+cd .tmp &&
+git init &&
+echo foo > bar && git add bar && git commit bar -m baz &&
+git submodule add ../.fixtures/bare.git lala
+'
+
+./.achieved 'Cathedral Architect'
View
69 test/Garage Inventor
@@ -1,66 +1,11 @@
-#!/bin/bash -i
+#!/bin/sh
-# setup our push repo
-mkdir .testapplication.push
-cd .testapplication.push
-git init
-cd ../
-
-mkdir .testapplication
-cd .testapplication
-
-git achievements --help
-
-git init
-
-touch README
-git add README
-git commit -s -m "First commit"
-
-git diff --cached
-echo "hello world" > README
-git add README
-git diff --cached
-git commit -s -m "Second commit"
-
-touch second_file
-git blame second_file
-
-touch .gitignore
-echo "second_file" >> .gitignore
-git add .gitignore
-git commit -s -m "third commit"
-git commit --amend -m "Third commit"
-git commit --amend -m "Third awesome commit"
-
-git remote add origin ../.testapplication.push/.git/
-git remote add local ../.testapplication.push/.git/
-git push origin
-
-git log
-git log -Sworld
-
-git checkout -b testbranch master
-git checkout -b otherbranch master
-git push origin --all
-
-git gc
-git gc
-
-git blame README
-
-
-git reflog
-
-mv .git/hooks/pre-commit.sample .git/hooks/pre-commit
-
-git format-patch HEAD^
-git reset --hard HEAD^
-git am -k3 0001*
-git config alias.xxx ls-files
+bash -ic '
+cd .tmp &&
+git clone ../.fixtures/bare.git &&
+cd bare &&
+git config alias.xxx ls-files &&
git xxx
-git config --unset alias.xxx
+'
-cd ..
-rm -Rf .testapplication{,.push}
./.achieved Garage\ Inventor
View
12 test/News Reader 100644 → 100755
@@ -1,3 +1,11 @@
-#!/bin/bash -i
-set -e
+#!/bin/sh
+bash -ic '
+cd .tmp &&
+git clone ../.fixtures/bare.git &&
+cd bare &&
+git whatchanged |head &&
+git whatchanged |head
+'
+
+./.achieved 'News Reader'

0 comments on commit 779b46b

Please sign in to comment.
Something went wrong with that request. Please try again.