[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][lintian/lintian][master] 2 commits: Add test for untested tag should-specify-rules-requires-root.



Title: GitLab

Chris Lamb pushed to branch master at lintian / lintian

Commits:

13 changed files:

Changes:

  • t/tags/checks/control-file/implicitly-requires-rrr/debian/control.in
    1
    +Source: {$source}
    
    2
    +Priority: {$priority}
    
    3
    +Section: {$section}
    
    4
    +Maintainer: {$author}
    
    5
    +Standards-Version: {$standards_version}
    
    6
    +Build-Depends: {$build_depends}
    
    7
    +Homepage: {$homepage}
    
    8
    +
    
    9
    +Package: {$source}
    
    10
    +Architecture: {$package_architecture}
    
    11
    +Pre-Depends: $\{misc:Pre-Depends\}
    
    12
    +Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
    
    13
    +Description: {$description}
    
    14
    + This is a test package designed to exercise some feature or tag of
    
    15
    + Lintian.  It is part of the Lintian test suite and may do very odd
    
    16
    + things.  It should not be installed like a regular package.  It may
    
    17
    + be an empty package.

  • t/tags/checks/control-file/implicitly-requires-rrr/debian/install
    1
    +controlled-by-owner usr/share/separate

  • t/tags/checks/control-file/implicitly-requires-rrr/debian/rules
    1
    +#!/usr/bin/make -f
    
    2
    +
    
    3
    +tmp := $(CURDIR)/debian/$(shell dh_listpackages)
    
    4
    +
    
    5
    +%:
    
    6
    +	dh $@
    
    7
    +
    
    8
    +override_dh_fixperms:
    
    9
    +	dh_fixperms
    
    10
    +	chown 1:1 $(tmp)/usr/share/separate/controlled-by-owner

  • t/tags/checks/control-file/implicitly-requires-rrr/desc
    1
    +Testname: implicitly-requires-rrr
    
    2
    +Skeleton: upload-native
    
    3
    +Version: 1.0
    
    4
    +Description: Test with package that requires Rules-Requires-Root but does not mention it
    
    5
    +Test-Against:
    
    6
    +Check: control-file

  • t/tags/checks/control-file/implicitly-requires-rrr/orig/controlled-by-owner
    1
    +SEPARATE PROPERTY

  • t/tags/checks/control-file/implicitly-requires-rrr/post_test
    1
    +s/\(\S+:\S+\)$/(USER:GROUP)/

  • t/tags/checks/control-file/implicitly-requires-rrr/tags
    1
    +I: implicitly-requires-rrr source: should-specify-rules-requires-root implicitly-requires-rrr usr/share/separate/controlled-by-owner (USER:GROUP)

  • t/tags/checks/files/contains-build-path/builder.in
    1
    +Build-Product: {$source}_{$no_epoch}_{$host_architecture}.changes
    
    2
    +Build-Command: make --trace DEFAULT_DH_COMPAT={$dh_compat_level} DEB_BUILD_OPTIONS='buildinfo=+path'
    
    3
    +Default-Build-Depends: debhelper (>= {$dh_compat_level}~)

  • t/tags/checks/files/contains-build-path/debian/docs
    1
    +build-path

  • t/tags/checks/files/contains-build-path/debian/rules
    1
    +#!/usr/bin/make -f
    
    2
    +
    
    3
    +export DEB_BUILD_MAINT_OPTIONS=hardening=+all
    
    4
    +
    
    5
    +tmp := $(CURDIR)/debian/$(shell dh_listpackages)
    
    6
    +
    
    7
    +%:
    
    8
    +	dh $@
    
    9
    +
    
    10
    +# In Ubuntu, dh does not catch this file by default.
    
    11
    +#  They have diffed it to reduce the size of packages.
    
    12
    +ifneq (,$(strip $(wildcard Changes)))
    
    13
    +override_dh_installchangelogs:
    
    14
    +	dh_installchangelogs Changes
    
    15
    +endif

  • t/tags/checks/files/contains-build-path/desc
    1
    +Testname: contains-build-path
    
    2
    +Version: 1.0
    
    3
    +Skeleton: upload-native
    
    4
    +Description: Test for upload containing build path
    
    5
    +Test-Against:
    
    6
    +Check: files

  • t/tags/checks/files/contains-build-path/orig/Makefile
    1
    +all:
    
    2
    +	echo $(shell pwd) > build-path

  • t/tags/checks/files/contains-build-path/tags
    1
    +I: contains-build-path: file-references-package-build-path usr/share/doc/contains-build-path/build-path


  • Reply to: