]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tests: add docker-test.sh --ref giant|firefly etc.
authorLoic Dachary <ldachary@redhat.com>
Sun, 21 Dec 2014 14:19:08 +0000 (15:19 +0100)
committerLoic Dachary <ldachary@redhat.com>
Sun, 21 Dec 2014 16:53:00 +0000 (17:53 +0100)
commitb15bd60c4efd0e5d3db607dd8b77cd31f5c6cb0c
tree7611490a088d1423636ebe7e635229122ec4e359
parentf0805957a20e54ab241cc1608d369fc48f183d36
tests: add docker-test.sh --ref giant|firefly etc.

Add the --ref option to chose the git ref to which the working tree must
be reset instead of HEAD.

   test/docker-test.sh --ref giant make

is equivalent to

   test/docker-test.sh bash -c 'git reset --hard giant ; make'

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/docker-test-helper.sh