[Piuparts-devel] Bug#561445: piuparts: install, mangle configuration file, install, check that manglement is still there

Tollef Fog Heen tfheen at debian.org
Thu Dec 17 08:42:54 UTC 2009


Package: piuparts
Severity: wishlist

Hi, as per subject.  I believe we have postinst in the archive that just
grab a known set of values and use those to fill in a template rather
than actually editing the file on disk.

The test would be something like:

- install package X
- mangle all non-conffile configuration files, adding something that's
  hopefully a comment.  «# XXX piuparts was here» or something other,
  appropriate.
- install package X again
- ensure the comment is still present

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Tollef Fog Heen 
UNIX is user friendly, it's just picky about who its friends are





More information about the Piuparts-devel mailing list