commit - 07165b171f54dc3e3cd64bd7238e5d060d0c90aa
commit + 8775a682f984b3741057362377b06011b56c085d
blob - b6d15ae7a39b4f755d66d6ea89e268ee45b22005
blob + 597e601e0fefb3fbe64e77e4c05e3ae7103dd8b3
--- regress/cmdline/pack.sh
+++ regress/cmdline/pack.sh
ret=1
break
done
- if [ "$ret" == "1" ]; then
+ if [ "$ret" = "1" ]; then
break
fi
done
echo "found excluded object $id in pack file" >&2
ret=1
fi
- if [ "$ret" == "1" ]; then
+ if [ "$ret" = "1" ]; then
break
fi
done
- if [ "$ret" == "1" ]; then
+ if [ "$ret" = "1" ]; then
test_done "$testroot" "$ret"
return 1
fi
obj_id=${id0}${e}
excluded=0
for id in $excluded_ids; do
- if [ "$obj_id" == "$id" ]; then
+ if [ "$obj_id" = "$id" ]; then
excluded=1
break
fi
done
- if [ "$excluded" == "1" ]; then
+ if [ "$excluded" = "1" ]; then
continue
fi
if grep -q ^$obj_id $testroot/stdout; then
ret=1
break
done
- if [ "$ret" == "1" ]; then
+ if [ "$ret" = "1" ]; then
break
fi
done
echo "found excluded object $id in pack file" >&2
ret=1
fi
- if [ "$ret" == "1" ]; then
+ if [ "$ret" = "1" ]; then
break
fi
done
- if [ "$ret" == "1" ]; then
+ if [ "$ret" = "1" ]; then
test_done "$testroot" "$ret"
return 1
fi
included_ids="$included_ids $commit0 $tree0"
for obj_id in $included_ids; do
for id in $excluded_ids; do
- if [ "$obj_id" == "$id" ]; then
+ if [ "$obj_id" = "$id" ]; then
excluded=1
break
fi
done
- if [ "$excluded" == "1" ]; then
+ if [ "$excluded" = "1" ]; then
continue
fi
if grep -q ^$obj_id $testroot/stdout; then
gotadmin pack -r $testroot/repo -x master master \
> $testroot/stdout 2> $testroot/stderr
ret="$?"
- if [ "$ret" == "0" ]; then
+ if [ "$ret" = "0" ]; then
echo "gotadmin pack succeeded unexpectedly" >&2
test_done "$testroot" "1"
return 1
echo "found excluded object $id in pack file" >&2
ret=1
fi
- if [ "$ret" == "1" ]; then
+ if [ "$ret" = "1" ]; then
break
fi
done
- if [ "$ret" == "1" ]; then
+ if [ "$ret" = "1" ]; then
test_done "$testroot" "$ret"
return 1
fi
obj_id=${id0}${e}
excluded=0
for id in $excluded_ids; do
- if [ "$obj_id" == "$id" ]; then
+ if [ "$obj_id" = "$id" ]; then
excluded=1
break
fi
done
- if [ "$excluded" == "1" ]; then
+ if [ "$excluded" = "1" ]; then
continue
fi
if grep -q ^$obj_id $testroot/stdout; then
ret=1
break
done
- if [ "$ret" == "1" ]; then
+ if [ "$ret" = "1" ]; then
break
fi
done
ret=1
break
done
- if [ "$ret" == "1" ]; then
+ if [ "$ret" = "1" ]; then
break
fi
done
gotadmin pack -r $testroot/repo refs/got/worktree/ \
> $testroot/stdout 2> $testroot/stderr
ret="$?"
- if [ "$ret" == "0" ]; then
+ if [ "$ret" = "0" ]; then
echo "gotadmin pack succeeded unexpectedly" >&2
test_done "$testroot" "1"
return 1