Hide Forgot
Description of problem: If one do backup of non-existing file with --clean, the backup directory is created but no file is actually copied there. rlFileRestore then reports the same error for both. Version-Release number of selected component (if applicable): beakerlib-1.11-2 How reproducible: 100% Steps to Reproduce: 1. rm -f /xxx 2. rlFileBackup -- clean /xxx 3. rlFileRestore Actual results: an error is reported Expected results: no error is reported
In my opinion there should be Warning due to backup, that inform user, no file is saved.
(In reply to Jakub Prokes from comment #1) > In my opinion there should be Warning due to backup, that inform user, no > file is saved. Actually there is a warning in case no --clean is used. It is feature implemented few versions back. While using --clean it is quite expected that the file does not need to exist.
fixed by https://git.fedorahosted.org/cgit/beakerlib.git/commit/?id=c30de2a175adac6732e9a349b5198a7ef00b33e2