summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/git-backup-on-error-multiple-backups.script2
-rwxr-xr-xtests/git-backup-on-error-single-backup.script2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/git-backup-on-error-multiple-backups.script b/tests/git-backup-on-error-multiple-backups.script
index bcc165b..af67879 100755
--- a/tests/git-backup-on-error-multiple-backups.script
+++ b/tests/git-backup-on-error-multiple-backups.script
@@ -32,6 +32,8 @@ normalize() {
-e "s|git-post-fail-$DATETIMESPEC|git-post-fail-DATETIME|g" \
-e "s/pack-[0-9a-z]+\.(idx|pack)$/pack-file/" \
-e '/hooks\/.*\.sample/d' \
+ -e "/\/objects\/info\/commit-graph$/d" \
+ -e "/\/objects\/pack\/pack-[0-9a-z]+\.bitmap$/d" \
-e "s|$DATADIR|DATADIR|g" "$@"
}
diff --git a/tests/git-backup-on-error-single-backup.script b/tests/git-backup-on-error-single-backup.script
index 23d0f36..40ec12a 100755
--- a/tests/git-backup-on-error-single-backup.script
+++ b/tests/git-backup-on-error-single-backup.script
@@ -31,6 +31,8 @@ postbackup="$workdir/$repo_name/git-post-fail"
normalize() {
sed -r -e '/hooks\/.*\.sample/d' \
-e "s/pack-[0-9a-z]+\.(idx|pack)$/pack-file/" \
+ -e "/\/objects\/info\/commit-graph$/d" \
+ -e "/\/objects\/pack\/pack-[0-9a-z]+\.bitmap$/d" \
-e "s|$DATADIR|DATADIR|g" "$@"
}