added better error handling to vault writing, always use a tmp

vault file for writing. added matching unittest to check if
the code catches a disk full error.
This commit is contained in:
TLINDEN
2013-11-09 13:46:40 +01:00
parent bccdaf4ff2
commit 1a772e15b8
28 changed files with 930 additions and 1560 deletions

View File

@@ -104,7 +104,7 @@ sub runtest {
my $ret = run($cfg->{cmd},
$cfg->{input},
\$out, \$error, 5, 0, undef);
\$out, \$error, 10, 0, undef);
$output = $out . $error;