rev-parse test: use standard test functions for setup
authorFelipe Contreras <redacted>
Tue, 3 Sep 2013 17:15:46 +0000 (10:15 -0700)
committerJunio C Hamano <redacted>
Tue, 3 Sep 2013 20:01:40 +0000 (13:01 -0700)
commit7495a17363de7397509710344e1c22f0918aceee
tree00cb5b78d7521143ec1b8b786fbdcf92101471f7
parentc812be9d81cf1fc587695d985bced50258b53d31
rev-parse test: use standard test functions for setup

Save the reader from learning specialized t6* setup functions
where familiar commands like test_commit, "git checkout --orphan",
and "git merge" will do.

While at it, wrap the setup commands in a test assertion so errors can
be caught and stray output suppressed when running without --verbose
as in other tests.

Signed-off-by: Felipe Contreras <redacted>
Signed-off-by: Jonathan Nieder <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t6101-rev-parse-parents.sh
git clone https://git.99rst.org/PROJECT