more diagnostics for remote debug
This commit is contained in:
parent
000b2fcce3
commit
a5d38396a1
1 changed files with 4 additions and 1 deletions
|
|
@ -32,8 +32,11 @@ my $storage = WebGUI::Storage->createTemp($session);
|
|||
$storage->addFileFromScalar('goodFile', $goodFile);
|
||||
$storage->addFileFromScalar('twoLines', $twoLines);
|
||||
$storage->addFileFromScalar('unreadableFile', 'The contents of this file are not readable');
|
||||
chmod(0111, $storage->getPath('unreadableFile')) or
|
||||
my $unreadable = $storage->getPath('unreadableFile');
|
||||
diag(sprintf "original mode: %o", (stat $unreadable)[2]);
|
||||
chmod(0111, $unreadable) or
|
||||
diag("Unable to chmod file.");
|
||||
diag(sprintf "modified mode: %o", (stat $unreadable)[2]);
|
||||
|
||||
my @testSets = (
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue