Skip to content
Snippets Groups Projects
Commit 5dcf2043 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Handle the output of git 1.7.5.4.

parent 28869be8
Branches
No related tags found
No related merge requests found
test-git/ test-git/
*~
Cloning into 'master-clone'...
done.
Cloning into master-clone...
done.
Cloning into 'mirror-clone'...
done.
Cloning into mirror-clone...
done.
...@@ -21,8 +21,15 @@ do ...@@ -21,8 +21,15 @@ do
cat $what.err cat $what.err
exit 1 exit 1
fi fi
if [ "`cat $what.out`" != "Cloning into '$what-clone'... found=false
done." ] for expected in ../stdout.$what.*.txt
do
if cmp -s $expected $what.out
then
found=true
fi
done
if ! $found
then then
echo unexpected stdout from git clone: echo unexpected stdout from git clone:
cat $what.out cat $what.out
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment