PERFORCE change 176786 for review

Garrett Cooper gcooper at FreeBSD.org
Sun Apr 11 11:25:35 UTC 2010


http://p4web.freebsd.org/@@176786?ac=10

Change 176786 by gcooper at 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


More information about the p4-projects mailing list