mirror of
https://github.com/git/git
synced 2024-08-23 18:00:25 +00:00
t5004: ignore pax global header file
Versions of tar that don't know pax headers -- like the ones in NetBSD 6 and OpenBSD 5.2 -- extract them as regular files. Explicitly ignore the file created for our global header when checking the list of extracted files, as this is normal and harmless fall-back behaviour. This fixes test 3 of t5004 on these platforms. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
e2161bc385
commit
abdb9b2e4f
|
@ -23,7 +23,7 @@ check_dir() {
|
|||
echo "$dir/$i"
|
||||
done
|
||||
} | sort >expect &&
|
||||
find "$dir" -print | sort >actual &&
|
||||
find "$dir" ! -name pax_global_header -print | sort >actual &&
|
||||
test_cmp expect actual
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue