commit - f0fd0aafb69cafd7c84dd294cffda4b3c1d6144a
commit + 67d7451ca0b909687a2689243077b8d7edb65102
blob - 7e75429e4fe31fb4f4ec10afbd607d1b71f67721
blob + 14a25416da706b0bced0477529b71a35b28914d1
--- regress/cmdline/checkout.sh
+++ regress/cmdline/checkout.sh
echo -n "Checked out refs/heads/master: " >> $testroot/stdout.expected
git_show_head $testroot/repo >> $testroot/stdout.expected
- echo "\nNow shut up and hack" >> $testroot/stdout.expected
+ printf "\nNow shut up and hack\n" >> $testroot/stdout.expected
got checkout -q $testroot/repo $testroot/wt > $testroot/stdout
ret="$?"
blob - 47f3fb72e870ae3ea6d9b9aa4148243c8f217315
blob + de94a6e129b914a487c98dde2b1cc0d59698c4cd
--- regress/cmdline/status.sh
+++ regress/cmdline/status.sh
echo '! epsilon/zeta' > $testroot/stdout.expected
echo '? foo' >> $testroot/stdout.expected
- (cd $testroot/wt && got status -s \!? > $testroot/stdout)
+ (cd $testroot/wt && got status -s !\? > $testroot/stdout)
cmp -s $testroot/stdout.expected $testroot/stdout
ret="$?"
if [ "$ret" != "0" ]; then
fi
echo 'M alpha' > $testroot/stdout.expected
- (cd $testroot/wt && got status -S D?A\! > $testroot/stdout)
+ (cd $testroot/wt && got status -S D\?A! > $testroot/stdout)
cmp -s $testroot/stdout.expected $testroot/stdout
ret="$?"
if [ "$ret" != "0" ]; then
fi
echo 'D beta' > $testroot/stdout.expected
- (cd $testroot/wt && got status -S M?A\! > $testroot/stdout)
+ (cd $testroot/wt && got status -S M\?A! > $testroot/stdout)
cmp -s $testroot/stdout.expected $testroot/stdout
ret="$?"
if [ "$ret" != "0" ]; then
fi
echo 'A new' > $testroot/stdout.expected
- (cd $testroot/wt && got status -S MD?\! > $testroot/stdout)
+ (cd $testroot/wt && got status -S MD\?! > $testroot/stdout)
cmp -s $testroot/stdout.expected $testroot/stdout
ret="$?"
if [ "$ret" != "0" ]; then
(cd $testroot/wt && got stage new > $testroot/stdout)
echo ' A new' > $testroot/stdout.expected
- (cd $testroot/wt && got status -S MD?\! > $testroot/stdout)
+ (cd $testroot/wt && got status -S MD\?! > $testroot/stdout)
cmp -s $testroot/stdout.expected $testroot/stdout
ret="$?"
if [ "$ret" != "0" ]; then
echo 'M alpha' > $testroot/stdout.expected
echo 'MA new' >> $testroot/stdout.expected
- (cd $testroot/wt && got status -S D?\! > $testroot/stdout)
+ (cd $testroot/wt && got status -S D\?! > $testroot/stdout)
cmp -s $testroot/stdout.expected $testroot/stdout
ret="$?"
if [ "$ret" != "0" ]; then
fi
echo 'M alpha' > $testroot/stdout.expected
- (cd $testroot/wt && got status -S AD?\! > $testroot/stdout)
+ (cd $testroot/wt && got status -S AD\?! > $testroot/stdout)
cmp -s $testroot/stdout.expected $testroot/stdout
ret="$?"
if [ "$ret" != "0" ]; then
rm $testroot/stdout.expected
touch $testroot/stdout.expected
- (cd $testroot/wt && got status -S MD?\! > $testroot/stdout)
+ (cd $testroot/wt && got status -S MD\?! > $testroot/stdout)
cmp -s $testroot/stdout.expected $testroot/stdout
ret="$?"
if [ "$ret" != "0" ]; then