summaryrefslogtreecommitdiff
path: root/test/integration/test-sourceslist-lang-plusminus-options
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-07-10 00:07:37 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-08-10 17:27:17 +0200
commitc2a4a8dded2dfb56dbcab9689b6cb4b96c9999b6 (patch)
treeee4679a839124bd5ea0f487dd2d3408b9d57a173 /test/integration/test-sourceslist-lang-plusminus-options
parent0d5b9da9f597fecae9b912d37d4e58bc903bdd4f (diff)
rename 'apt-get files' to 'apt-get indextargets'
'files' is a bit too generic as a name for a command usually only used programmatically (if at all) by developers, so instead of "wasting" this generic name for this we use "indextargets" which is actually the name of the datastructure the displayed data is stored in. Along with this rename the config options are renamed accordingly.
Diffstat (limited to 'test/integration/test-sourceslist-lang-plusminus-options')
-rwxr-xr-xtest/integration/test-sourceslist-lang-plusminus-options4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/test-sourceslist-lang-plusminus-options b/test/integration/test-sourceslist-lang-plusminus-options
index 28d5f9e06..c61d5a4ca 100755
--- a/test/integration/test-sourceslist-lang-plusminus-options
+++ b/test/integration/test-sourceslist-lang-plusminus-options
@@ -11,7 +11,7 @@ testlangs() {
local LANGS="$2"
shift 2
rm -f gotlangs.list
- aptget files --no-release-info 'Created-By: Translations' "$@" --format '$(LANGUAGE)' | sort -u > gotlangs.list
+ aptget indextargets --no-release-info 'Created-By: Translations' "$@" --format '$(LANGUAGE)' | sort -u > gotlangs.list
if [ -z "$LANGS" ]; then
echo -n | tr ',' '\n' | sort | checkdiff - gotlangs.list && msgpass || msgfail
else
@@ -44,7 +44,7 @@ testlangs 'lang=de_DE' 'de_DE'
echo 'deb [lang=none] http://example.org/debian stable rocks' > rootdir/etc/apt/sources.list
testlangs 'lang=none' ''
-testequal 'amd64' aptget files --no-release-info 'Created-By: Packages' --format '$(ARCHITECTURE)'
+testequal 'amd64' aptget indextargets --no-release-info 'Created-By: Packages' --format '$(ARCHITECTURE)'
echo 'deb [lang+=pt] http://example.org/debian stable rocks' > rootdir/etc/apt/sources.list
testlangs 'lang+=pt' 'en,de,de_DE,pt'