diff options
author | Julian Andres Klode <jak@debian.org> | 2018-12-04 11:53:05 +0000 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2018-12-04 11:53:05 +0000 |
commit | b9d405d4074bb1de10e869038fe9685bf660fd16 (patch) | |
tree | 515811c1baa6f296f2b5e78fcfeb2ddb6cf38aa7 /test | |
parent | dbf202ff9d20a043855d41f4bea1d954b0cef579 (diff) | |
parent | 64d7e1c568a7f9e7f32d1dee1ab771f924baa28d (diff) |
Merge branch 'bugfix/spaceinconfig' into 'master'
Use quoted tagnames in config dumps
See merge request apt-team/apt!32
Diffstat (limited to 'test')
-rwxr-xr-x | test/integration/test-apt-config | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/integration/test-apt-config b/test/integration/test-apt-config index f2068b789..12df63de1 100755 --- a/test/integration/test-apt-config +++ b/test/integration/test-apt-config @@ -34,3 +34,17 @@ testsuccessequal 'nodoc stage1' aptconfig dump --no-empty --format='%v%n' APT::Build-Profiles unset DEB_BUILD_PROFILES testempty aptconfig dump --no-empty --format='%v%n' APT::Build-Profiles + +cat > spaces.conf <<EOF +Spaces::Test::"Foo Bar" "1 1"; +Spaces::Test2::" Bar Baz " "B B" { + A%20B "C C"; + "B C" "A A"; +}; +EOF +testsuccessequal 'Spaces::Test ""; +Spaces::Test::Foo%20Bar "1 1"; +Spaces::Test2 ""; +Spaces::Test2::%20Bar%20Baz%20 "B B"; +Spaces::Test2::%20Bar%20Baz%20::A%20B "C C"; +Spaces::Test2::%20Bar%20Baz%20::B%20C "A A";' aptconfig dump -c spaces.conf Spaces::Test Spaces::Test2 |