mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-18 04:10:57 +01:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user