mirror of
https://github.com/erenfro/gen2stage4.git
synced 2024-11-13 18:58:57 -05:00
Correct exclusions, include repo, exclude caches
This commit is contained in:
parent
8d23244e75
commit
2a9ff94ab4
2 changed files with 5 additions and 5 deletions
|
@ -185,8 +185,8 @@ tarExcludes=(
|
|||
)
|
||||
|
||||
tarExcludesPortage=(
|
||||
"var/db/repos/*/*"
|
||||
"var/cache/binpkgs/*"
|
||||
"var/cache/distiles/*"
|
||||
"usr/portage/*"
|
||||
)
|
||||
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
load test_helper
|
||||
|
||||
setup() {
|
||||
f test/var/db/repos/gentoo/app-backup/mkstage4/ebuild
|
||||
f test/var/db/repos/gentoo/app-backup/gen2stage4/ebuild
|
||||
f test/var/db/repos/science/sci-biology/fsl/ebuild
|
||||
f test/var/cache/distfiles/mkstage4.tar.gz
|
||||
f test/var/cache/distfiles/gen2stage4.tar.gz
|
||||
f test/usr/portage/Manifest
|
||||
gen2stage4 -q -t test test
|
||||
}
|
||||
|
@ -30,8 +30,8 @@ teardown() {
|
|||
assert_tar_excludes_partial test/var/db/repos/gentoo/app-backup
|
||||
}
|
||||
|
||||
@test "/var/cache/distfiles/mkstage4.tar.gz is excluded" {
|
||||
assert_tar_excludes test/var/cache/distfiles/mkstage4.tar.gz
|
||||
@test "/var/cache/distfiles/gen2stage4.tar.gz is excluded" {
|
||||
assert_tar_excludes test/var/cache/distfiles/gen2stage4.tar.gz
|
||||
}
|
||||
|
||||
@test "/var/cache/distfiles/ is included" {
|
||||
|
|
Loading…
Reference in a new issue