Test case: tests/frontend/packagesplit.sh:package_split

Metadata

Standard output

Executing command [ pkg register -t -M pkg1.ucl ]
Executing command [ pkg register -t -M dep1.ucl ]
Executing command [ pkg create -M ./dep1.ucl ]
Executing command [ pkg create -M ./pkg2.ucl ]
Executing command [ pkg create -M ./pkg3.ucl ]
Executing command [ pkg create -M ./pkg4.ucl ]
Executing command [ pkg repo . ]
Executing command [ pkg -o REPOS_DIR=/tmp/kyua.atf-tester.uUjxSe upgrade -y ]

Standard error

Fail: incorrect exit status: 3, expected: 0
stdout:
Updating local repository catalogue...
Fetching meta.txz... done
Fetching packagesite.txz... done
Processing entries... done
local repository update completed. 4 packages processed
Updating database digests format... done
Checking for upgrades (2 candidates)... done
Processing candidates (2 candidates)... done
The following 3 packages will be affected (of 0 checked):

New packages to be INSTALLED:
	sub-test: 1
	sub-test2: 1

Installed packages to be REINSTALLED:
	test-1 (direct dependency changed)

1 KB to be downloaded.
Checking integrity... done (0 conflicting)
[1/3] Installing sub-test-1...

stderr:
pkg: sub-test-1 conflicts with test-1 (installs files into the same place).  Problematic file: /tmp/kyua.atf-tester.uUjxSe/file1