Skip to content
Snippets Groups Projects
Commit e837c1c8 authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

apt: fixed cdrom test

parent 0ab63d5a
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=2 VERSION=1
COMPONENT=main COMPONENT=main
. ./config . ./config
...@@ -31,6 +31,8 @@ replace "http://archive.ubuntu.com/ubuntu/project/ubuntu-archive-keyring.gpg" "h ...@@ -31,6 +31,8 @@ replace "http://archive.ubuntu.com/ubuntu/project/ubuntu-archive-keyring.gpg" "h
replace ubuntu-keyring trisquel-keyring . replace ubuntu-keyring trisquel-keyring .
replace ubuntu-archive-keyring trisquel-archive-keyring . replace ubuntu-archive-keyring trisquel-archive-keyring .
# hack, use special words to avoid duplicates in the test
sed 's/contrib/uncomon/g; s/non-free/rare/g' -i test/libapt/cdromfindpackages_test.cc
# remove non-free examples https://trisquel.info/en/issues/5518 # remove non-free examples https://trisquel.info/en/issues/5518
sed '/non-free/d' -i ./test/integration/Packages-ubuntu-bug-614993 ./test/integration/status-ubuntu-bug-614993 sed '/non-free/d' -i ./test/integration/Packages-ubuntu-bug-614993 ./test/integration/status-ubuntu-bug-614993
replace "contrib main non-free" main . replace "contrib main non-free" main .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment