summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-01-18 20:51:03 +0100
committerMichael Vogt <mvo@debian.org>2014-01-18 20:51:03 +0100
commit6c069a2247781754bcc8574687cb98b493c6ab8a (patch)
tree53292a8c16b526c17d4978d63fcf7a2148832c3b /test
parent866e9fadf892368fcb50e6a192bcdd350cfe8e5c (diff)
rename "Suite/Section" to plural
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-sources-deb8226
-rw-r--r--test/libapt/sourcelist_test.cc4
2 files changed, 5 insertions, 5 deletions
diff --git a/test/integration/test-apt-sources-deb822 b/test/integration/test-apt-sources-deb822
index a055c8d5e..c73b942d4 100755
--- a/test/integration/test-apt-sources-deb822
+++ b/test/integration/test-apt-sources-deb822
@@ -21,8 +21,8 @@ BASE="# some comment
Type: deb
URI: http://ftp.debian.org/debian
-Suite: stable
-Section: main
+Suites: stable
+Sections: main
Comment: Some random string
that can be very long"
@@ -70,7 +70,7 @@ testequalwithmsg "Invalid sources.list file gives proper error" "E: Malformed li
E: The list of sources could not be read." aptget update --print-uris
echo "Type: deb
-Suite: stable
+Suites: stable
" > $SOURCES
testequalwithmsg "Invalid deb822 sources.list file gives proper error" "E: Malformed stanza 0 in source list $TMPWORKINGDIRECTORY/rootdir/etc/apt/sources.list (URI parse)
diff --git a/test/libapt/sourcelist_test.cc b/test/libapt/sourcelist_test.cc
index 6a625770f..ae5d11f66 100644
--- a/test/libapt/sourcelist_test.cc
+++ b/test/libapt/sourcelist_test.cc
@@ -24,8 +24,8 @@ int main(int argc, char *argv[])
const char contents[] = ""
"Type: deb\n"
"URI: http://ftp.debian.org/debian\n"
- "Suite: stable\n"
- "Section: main\n"
+ "Suites: stable\n"
+ "Sections: main\n"
"Comment: Some random string\n"
" that can be very long\n"
"\n"