Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 2010 11:25:34 GMT
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 176786 for review
Message-ID:  <201004111125.o3BBPYN8024362@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@176786?ac=10

Change 176786 by gcooper@gcooper-bayonetta on 2010/04/11 11:24:37

	Checkpoint one more time for tonight.

Affected files ...

.. //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/tools/regression/usr.sbin/pkg_install/add/testplan#3 edit

Differences ...

==== //depot/projects/soc2007/gcooper-pkg_install-enhancements-simplified/tools/regression/usr.sbin/pkg_install/add/testplan#3 (text+ko) ====

@@ -114,8 +114,41 @@
 	  be rejected due to the conflict between package A and package B
 	  noted in package A.
 
+	Incomplete payload:
+	- Type: Negative
+	- Setup: Create package, but modify +CONTENTS to add more entries than
+	  are actually present in the package.
+	- Test: Attempt to install package.
+	- PF Criteria: package will fail to install because of missing payload
+	  entries. All of the files staged or installed will be rolled back.
+
+	Corrupt payload:
+	- Type: Negative
+	- Setup: Create package. Flip some bits in one of the files,
+	  effectively changing the unique signature. Repackage.
+	- Test: Attempt to install package.
+	- PF Criteria: package will fail to install because of a checksum
+	  mismatch. All of the files staged or installed will be rolled back.
+
 Tertiary functionality
 
+	Install into prefix...
+	- Precondition: the user must request that the package be installed in
+	  a non-standard location.
+
+	... package exists:
+	- Setup: Create package which would install in /usr/local by default.
+	  Create a directory called /tmp/package .
+	- Test: Install package in /tmp/package .
+	- PF Criteria: package contents will be installed in a path rooted at
+	  /tmp/package
+
+	... non-existent prefix:
+	- Setup: Create package which would install in /usr/local by default.
+	- Test: Attempt to install package in /i/dont/exist .
+	- PF Criteria: package will fail to install because /i/dont/exist
+	  doesn't exist :).
+
 	Keep remote package...
 	- Precondition: the specified package has a valid libfetch supported
 	  URI (ftp://, http://), or a package origin / basename is specified



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004111125.o3BBPYN8024362>