core: add ^ for rev-parse

This commit is contained in:
Colin Walters committed 2011-11-02 13:22:13 -04:00
1 parent 796dc7fc57
commit 2b00cf3810
9 files changed
+186 -94

No files matched your search

+6 -1
View File
@@ -20,7 +20,7 @@
set -e
echo "1..7"
echo "1..8"
. libtest.sh
@@ -35,6 +35,11 @@ echo "ok check"
ostree checkout $ot_repo test2 checkout-test2
echo "ok checkout"
ostree rev-parse $ot_repo test2
ostree rev-parse $ot_repo 'test2^'
ostree rev-parse $ot_repo 'test2^^' 2>/dev/null && (echo 1>&2 "rev-parse test2^^ unexpectedly succeeded!"; exit 1)
echo "ok rev-parse"
cd checkout-test2
assert_has_file firstfile
assert_has_file baz/cow