Commit a91436f1 authored by sikeda's avatar sikeda
Browse files

[-bug] A test fails when exit() was given a multiple of 256 as argument.


git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@12144 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent 5f260413
...@@ -75,7 +75,7 @@ sub attempt_parallel_lock { ...@@ -75,7 +75,7 @@ sub attempt_parallel_lock {
my $code = <<EOF; my $code = <<EOF;
my \$lock = Sympa::LockedFile->new("$file", -1, "$mode"); my \$lock = Sympa::LockedFile->new("$file", -1, "$mode");
exit \$lock + 0; exit !!\$lock;
EOF EOF
my @command = ($EXECUTABLE_NAME, "-MSympa::LockedFile", "-e", $code); my @command = ($EXECUTABLE_NAME, "-MSympa::LockedFile", "-e", $code);
system(@command); system(@command);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment