summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-02-25 12:36:09 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-02-25 12:38:22 +0200
commit1b78ed281b71915f259b9dc79bbcb7790764510f (patch)
treec950e6a58260855dc0057e4bee27de13b14b3cd8 /tests
parent8e20523b9d7ad373ded0810cede0ce0e99a5cede (diff)
downloadlibrpm-tizen-1b78ed281b71915f259b9dc79bbcb7790764510f.tar.gz
librpm-tizen-1b78ed281b71915f259b9dc79bbcb7790764510f.tar.bz2
librpm-tizen-1b78ed281b71915f259b9dc79bbcb7790764510f.zip
Improve failed transaction element behavior + logging
- handle failed element in rpmteOpen() already, avoiding need to check everywhere else - elements cancelled due to parent failure can further cancel their dependent elements - all failed, including skipped, elements are now logged
Diffstat (limited to 'tests')
-rw-r--r--tests/rpmconflict.at1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rpmconflict.at b/tests/rpmconflict.at
index 6df064b01..802804d62 100644
--- a/tests/rpmconflict.at
+++ b/tests/rpmconflict.at
@@ -102,6 +102,7 @@ runroot rpm -U "${TOPDIR}"/RPMS/noarch/symlinktest-1.0-2.noarch.rpm
[],
[error: unpacking of archive failed on file /usr/share/symlinktest: cpio: rename failed - Is a directory
error: symlinktest-1.0-2.noarch: install failed
+error: symlinktest-1.0-1.noarch: erase skipped
])
AT_CLEANUP