test_expect_success \
'Initialize the StGIT repository' \
'
- git config stgit.sender "A U Thor <author@example.com>" &&
+ git repo-config stgit.sender "A U Thor <author@example.com>" &&
for i in 1 2 3 4 5; do
touch foo.txt &&
echo "line $i" >> foo.txt &&
stg pop -a &&
stg import -M mbox0 &&
t2=$(git cat-file -p $(stg id) | grep ^tree) &&
- [ "$t1" == "$t2" ]
+ [ "$t1" = "$t2" ]
'
test_done