All pastes #895757 Raw Edit

Something

public text v1 · immutable
·published 2008-02-08 01:33 UTC
rendered paste body
$ ./pactest/pactest.py -p /usr/bin/pacman -t pactest/tests/upgrade045.py
================================================================================
Running 'upgrade045'
FS#9235
--------------------------------------------------------------------------------
==> Generating test environment
file /home/dmcgee/projects/pacman/root/etc/foo.cfg does not exist!
path /home/dmcgee/projects/pacman/root/etc/foo.cfg does not exist!
==> Running test
==> Checking rules
invalid db entry found (desc missing) for pkg foo
	[FAIL] PKG_VERSION=foo|1.0-2
	[FAIL] FILE_EXIST=etc/foo.cfg
==> Test result
	FAIL

================================================================================
Results
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
[FAIL] upgrade045                         Rules: OK =  0  FAIL =  2  SKIP =  0
       FS#9235
--------------------------------------------------------------------------------
TOTAL =   1
PASS  =   0 (  0.00%)
FAIL  =   1 (100.00%)




$ ./runpactest-lt.sh upgrade045.py
================================================================================
Running 'upgrade045'
FS#9235
--------------------------------------------------------------------------------
==> Generating test environment
file /home/dmcgee/projects/pacman/root/etc/foo.cfg does not exist!
path /home/dmcgee/projects/pacman/root/etc/foo.cfg does not exist!
==> Running test
==> Checking rules
	[ OK ] PKG_VERSION=foo|1.0-2
	[ OK ] FILE_EXIST=etc/foo.cfg
==> Test result
	PASS

================================================================================
Results
--------------------------------------------------------------------------------
[PASS] upgrade045                         Rules: OK =  2  FAIL =  0  SKIP =  0
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
TOTAL =   1
PASS  =   1 (100.00%)
FAIL  =   0 (  0.00%)