4 # test building package with bogus control files
5 ! $(DPKG_BUILD_DEB
) pkg-bogus-colon
6 ! $(DPKG_BUILD_DEB
) pkg-bogus-blank
7 ! $(DPKG_BUILD_DEB
) pkg-bogus-fieldname-empty
8 ! $(DPKG_BUILD_DEB
) pkg-bogus-fieldname-partial
9 ! $(DPKG_BUILD_DEB
) pkg-bogus-format-string
11 # build bogus packages
12 $(DPKG_BUILD_DEB
) --no-check pkg-bogus-colon
13 $(DPKG_BUILD_DEB
) --no-check pkg-bogus-blank
14 $(DPKG_BUILD_DEB
) --no-check pkg-bogus-fieldname-empty
15 $(DPKG_BUILD_DEB
) --no-check pkg-bogus-fieldname-partial
16 $(DPKG_BUILD_DEB
) --no-check pkg-bogus-format-string
18 # test installing packages with bogus control files
19 ! $(DPKG_INSTALL
) pkg-bogus-colon.deb
20 $(call pkg_is_not_installed
,pkg-bogus-colon
)
21 ! $(DPKG_INSTALL
) pkg-bogus-blank.deb
22 $(call pkg_is_not_installed
,pkg-bogus-blank
)
23 ! $(DPKG_INSTALL
) pkg-bogus-fieldname-empty.deb
24 $(call pkg_is_not_installed
,pkg-bogus-fieldname-empty
)
25 ! $(DPKG_INSTALL
) pkg-bogus-fieldname-partial.deb
26 $(call pkg_is_not_installed
,pkg-bogus-fieldname-partial
)
27 ! $(DPKG_INSTALL
) pkg-bogus-format-string.deb
28 $(call pkg_is_not_installed
,pkg-bogus-format-string
)
31 rm -f pkg-bogus-colon.deb
32 rm -f pkg-bogus-blank.deb