summaryrefslogtreecommitdiffstats
path: root/tests/data/aptsources
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/aptsources')
-rw-r--r--tests/data/aptsources/lsb-release4
-rw-r--r--tests/data/aptsources/os-release10
-rw-r--r--tests/data/aptsources/sources.list10
-rw-r--r--tests/data/aptsources/sources.list.d.testDistribution/main.sources74
-rw-r--r--tests/data/aptsources/sources.list.d.testDuplication/main.sources10
-rw-r--r--tests/data/aptsources/sources.list.d/main.sources32
-rw-r--r--tests/data/aptsources/sources.list.testDistribution14
-rw-r--r--tests/data/aptsources/sources.list.testDuplication2
8 files changed, 156 insertions, 0 deletions
diff --git a/tests/data/aptsources/lsb-release b/tests/data/aptsources/lsb-release
new file mode 100644
index 0000000..c4b5944
--- /dev/null
+++ b/tests/data/aptsources/lsb-release
@@ -0,0 +1,4 @@
+DISTRIB_ID=Ubuntu
+DISTRIB_RELEASE=16.04
+DISTRIB_CODENAME=xenial
+DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
diff --git a/tests/data/aptsources/os-release b/tests/data/aptsources/os-release
new file mode 100644
index 0000000..95a5bcd
--- /dev/null
+++ b/tests/data/aptsources/os-release
@@ -0,0 +1,10 @@
+NAME="KDE neon"
+VERSION="16.04 LTS"
+ID=neon
+ID_LIKE="ubuntu debian"
+PRETTY_NAME="KDE neon User Edition on 16.04 LTS"
+VERSION_ID="16.04"
+HOME_URL="http://neon.kde.org/"
+SUPPORT_URL="http://neon.kde.org/"
+BUG_REPORT_URL="http://bugs.kde.org/"
+UBUNTU_CODENAME=xenial
diff --git a/tests/data/aptsources/sources.list b/tests/data/aptsources/sources.list
new file mode 100644
index 0000000..8ca6807
--- /dev/null
+++ b/tests/data/aptsources/sources.list
@@ -0,0 +1,10 @@
+# comment 1
+deb http://de.archive.ubuntu.com/ubuntu/ edgy main
+# comment 2
+deb http://de.archive.ubuntu.com/ubuntu/ edgy restricted
+# comment 3
+deb http://de.archive.ubuntu.com/ubuntu/ edgy universe
+
+# multi-arch
+deb [arch=amd64,i386] http://de.archive.ubuntu.com/ubuntu/ natty main
+deb [arch=amd64,i386 trusted=yes] http://de.archive.ubuntu.com/ubuntu/ natty main
diff --git a/tests/data/aptsources/sources.list.d.testDistribution/main.sources b/tests/data/aptsources/sources.list.d.testDistribution/main.sources
new file mode 100644
index 0000000..ccdda20
--- /dev/null
+++ b/tests/data/aptsources/sources.list.d.testDistribution/main.sources
@@ -0,0 +1,74 @@
+Types: deb
+URIs: http://de.archive.ubuntu.com/ubuntu/
+Suites: hardy
+Components: main
+
+Types: deb
+URIs: http://de.archive.ubuntu.com/ubuntu/
+Suites: hardy
+Components: restricted
+
+Types: deb
+URIs: http://de.archive.ubuntu.com/ubuntu/
+Suites: hardy
+Components: universe
+
+Types: deb
+URIs: http://de.archive.ubuntu.com/ubuntu/
+Suites: hardy-updates
+Components: universe multiverse
+
+Types: deb
+URIs: http://de.archive.ubuntu.com/ubuntu/
+Suites: hardy-updates
+Components: restricted
+
+Types: deb
+URIs: http://de.archive.ubuntu.com/ubuntu/
+Suites: hardy-security
+Components: main
+
+Types: deb
+URIs: http://de.archive.ubuntu.com/ubuntu/
+Suites: hardy-security
+Components: multiverse
+
+Types: deb
+URIs: http://de.archive.ubuntu.com/ubuntu/
+Suites: hardy-security
+Components: multiverse
+
+Types: deb
+URIs: http://ftp.debian.org/debian
+Suites: sid
+Components: main
+
+Types: deb
+URIs: http://archive.tanglu.org/tanglu
+Suites: aequorea
+Components: main
+
+Types: deb
+URIs: http://ftp.hosteurope.de/mirror/archive.ubuntu.com/
+Suites: hardy
+Components: main
+
+Types: deb
+URIs: http://ftp.hosteurope.de/mirror/archive.ubuntu.com/
+Suites: hardy-backports
+Components: main
+
+Types: deb
+URIs: http://archive.ubuntu.com/ubuntu/
+Suites: intrepid
+Components: main
+
+Types: deb
+URIs: cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Alpha]/
+Suites: intrepid
+Components: main
+
+Types: deb
+URIs: cdrom:[Ubuntu 8.04 _Hardy Heron_]
+Suites: hardy
+Components: main
diff --git a/tests/data/aptsources/sources.list.d.testDuplication/main.sources b/tests/data/aptsources/sources.list.d.testDuplication/main.sources
new file mode 100644
index 0000000..5b7765b
--- /dev/null
+++ b/tests/data/aptsources/sources.list.d.testDuplication/main.sources
@@ -0,0 +1,10 @@
+Types: deb
+URIs: http://ppa.launchpad.net/me/myproject/ubuntu
+Suites: xenial
+Components: main
+
+Types: deb-src
+URIs: http://ppa.launchpad.net/me/myproject/ubuntu
+Suites: xenial
+Components: main
+Enabled: no
diff --git a/tests/data/aptsources/sources.list.d/main.sources b/tests/data/aptsources/sources.list.d/main.sources
new file mode 100644
index 0000000..2495f06
--- /dev/null
+++ b/tests/data/aptsources/sources.list.d/main.sources
@@ -0,0 +1,32 @@
+# comment 1
+# note that we have deliberate case typos in each paragraph to test case-insensitivity
+TyPes: deb
+URIs: http://de.archive.ubuntu.com/ubuntu/
+Suites: edgy
+Components: main
+
+# comment 2
+Types: deb
+uRIs: http://de.archive.ubuntu.com/ubuntu/
+Suites: edgy
+Components: restricted
+
+# comment 3
+Types: deb
+URIs: http://de.archive.ubuntu.com/ubuntu/
+SuiTes: edgy
+Components: universe
+
+# multi-arch
+Types: deb
+URIs: http://de.archive.ubuntu.com/ubuntu/
+Suites: natty
+ComPonents: main
+Architectures: amd64 i386
+
+Types: deb
+URIs: http://de.archive.ubuntu.com/ubuntu/
+Suites: natty
+Components: main
+ArchiTectures: amd64 i386
+Trusted: yes
diff --git a/tests/data/aptsources/sources.list.testDistribution b/tests/data/aptsources/sources.list.testDistribution
new file mode 100644
index 0000000..021ee87
--- /dev/null
+++ b/tests/data/aptsources/sources.list.testDistribution
@@ -0,0 +1,14 @@
+deb http://de.archive.ubuntu.com/ubuntu/ hardy main
+deb http://de.archive.ubuntu.com/ubuntu/ hardy restricted
+deb http://de.archive.ubuntu.com/ubuntu/ hardy universe
+deb http://de.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse
+deb http://de.archive.ubuntu.com/ubuntu/ hardy-updates restricted
+deb http://de.archive.ubuntu.com/ubuntu/ hardy-security main
+deb http://de.archive.ubuntu.com/ubuntu/ hardy-security multiverse
+deb http://ftp.debian.org/debian sid main
+deb http://archive.tanglu.org/tanglu aequorea main
+deb http://ftp.hosteurope.de/mirror/archive.ubuntu.com/ hardy main
+deb http://ftp.hosteurope.de/mirror/archive.ubuntu.com/ hardy-backports main
+deb http://archive.ubuntu.com/ubuntu/ intrepid main
+deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Alpha]/ intrepid main
+deb cdrom:[Ubuntu 8.04 _Hardy Heron_] hardy main
diff --git a/tests/data/aptsources/sources.list.testDuplication b/tests/data/aptsources/sources.list.testDuplication
new file mode 100644
index 0000000..28a4db2
--- /dev/null
+++ b/tests/data/aptsources/sources.list.testDuplication
@@ -0,0 +1,2 @@
+deb http://ppa.launchpad.net/me/myproject/ubuntu xenial main
+# deb-src http://ppa.launchpad.net/me/myproject/ubuntu xenial main