]>
git.saurik.com Git - apt.git/blob - test/integration/test-bug-734922-apt-showsrc-duplicate
4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'i386'
9 # foo is identical, show it only once in showsrc
10 insertpackage
"unstable" "foo" "i386" "1.0"
11 insertpackage
"testing" "foo" "i386" "1.0"
12 insertsource
"unstable" "foo" "i386" "1.0"
13 insertsource
"testing" "foo" "i386" "1.0"
15 # bar is different, show twice
16 insertsource
"unstable" "bar" "i386" "1.0"
17 insertsource
"testing" "bar" "i386" "2.0"
21 # ensure "foo" is not shown twice
22 aptcache showsrc foo bar
|grep ^Package
: > out.txt
23 testequal
"Package: foo
25 Package: bar" cat out.txt