commit - ded8fbb852004c3af2b31b1286f4fcfb50b998ba
commit + b90c30485ccda2a8a4950134cedef294b4e8e18e
blob - 6bde801a304c1c49f7f91d334825b18215ee684e
blob + a92186b2b16972f09b0b1e3bb41f213be3c136f7
--- regress/cmdline/log.sh
+++ regress/cmdline/log.sh
# try the same with the hash of an empty string which is very
# unlikely to match any object
- (cd $testroot/wt && \
- got log -x da39a3ee5e6b4b0d3255bfef95601890afd80709 \
+ local empty_sha1=da39a3ee5e6b4b0d3255bfef95601890afd80709
+ (cd $testroot/wt && got log -x $empty_sha1 \
> $testroot/stdout 2> $testroot/stderr)
ret="$?"
if [ "$ret" == "0" ]; then
return 1
fi
echo -n > $testroot/stdout.expected
- echo "got: object not found" > $testroot/stderr.expected
+ echo "got: $empty_sha1: object not found" > $testroot/stderr.expected
cmp -s $testroot/stderr.expected $testroot/stderr
ret="$?"
if [ "$ret" != "0" ]; then
blob - fb5ed4ec1a17f3f2d28601e6ab05fe32d7d6b879
blob + ca67103ac0f21f2ca6b3ded997d5bb8d02df01d2
--- regress/cmdline/tag.sh
+++ regress/cmdline/tag.sh
return 1
fi
- echo "got: object not found" > $testroot/stderr.expected
+ echo "got: $tree_id: object not found" > $testroot/stderr.expected
cmp -s $testroot/stderr $testroot/stderr.expected
ret="$?"
if [ "$ret" != "0" ]; then