summaryrefslogtreecommitdiffstats
path: root/pactest/util.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-12-17 05:45:01 +0100
committerDan McGee <dan@archlinux.org>2007-12-17 05:45:57 +0100
commitce424a356f73e99fe2247a0d18437399f0e8c5e9 (patch)
tree73e361f68c931230e3aae9fa614dfebe15ab1790 /pactest/util.py
parent20bad3b839ad3d43d477e80d66df8149d2935ab7 (diff)
downloadpacman-ce424a356f73e99fe2247a0d18437399f0e8c5e9.tar.gz
pacman-ce424a356f73e99fe2247a0d18437399f0e8c5e9.tar.xz
Check for errors on descfile extraction
If /tmp was full during the early stages of package extraction, we were unable to extract the package description file with the call to archive_read_data_into_fd(archive, fd) becuase we never checked the return code. Add a check to ensure the extraction was successful and print and return an error if it was not instead of falling through to a possibly untrue error message. This should fix FS #8885. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/util.py')
0 files changed, 0 insertions, 0 deletions