summaryrefslogtreecommitdiffstats
path: root/test/integration/test-bug-990518-sourceslist-volatile
blob: 1353566a3655a48c0811e7ee0c4217c7a9c22ffb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'amd64'

buildsimplenativepackage 'foo' 'amd64' '1'

echo foo > rootdir/etc/apt/sources.list.d/test.list

testfailureequal "E: Malformed line 1 in source list ${TMPWORKINGDIRECTORY}/rootdir/etc/apt/sources.list.d/test.list (type)
E: The list of sources could not be read." apt install ./incoming/foo_1_amd64.deb -s