Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> FAIL: misc/expr.log (exit: 1)
> =============================
>
> expr: arbitrary-precision support is not available
> expr (GNU coreutils) 6.12.135-b041
...
> bignum-add...
> expr: test bignum-add failed: exit status mismatch: expected 0, got 3
> bignum-add2...
> expr: test bignum-add2 failed: exit status mismatch: expected 0, got 3
> bignum-sub...
> expr: test bignum-sub failed: exit status mismatch: expected 0, got 3
> bignum-sub2...
> expr: test bignum-sub2 failed: exit status mismatch: expected 0, got 3
> bignum-mul...
> expr: test bignum-mul failed: exit status mismatch: expected 0, got 3
> bignum-div...
> expr: test bignum-div failed: exit status mismatch: expected 0, got 3
> Can't remove directory
> /home/rwild/coreutils/build-powerpc-ibm-aix5.3.0.0/tests/expr.tmp-9eO4:
> Device busy at /usr/opt/perl5/lib/5.8.2/File/Temp.pm line 858
Thanks for testing such a recent snapshot.
Was that using libgmp?
What does "src/expr --bignum 1" do?
Near the bottom of tests/misc/expr, there's code to
remove the bignum-related tests if that command fails.
Here's a shot in the dark:
Could it be that expr is a built-in for that shell?
If so, telling Coreutils.pm's run_tests to invoke it via env
should solve this one:
diff --git a/tests/misc/expr b/tests/misc/expr
index 4d23662..3f35c1f 100755
--- a/tests/misc/expr
+++ b/tests/misc/expr
@@ -183,5 +183,5 @@ foreach $t (@Tests)
my $save_temps = $ENV{SAVE_TEMPS};
my $verbose = $ENV{VERBOSE};
-my $fail = run_tests ($program_name, $prog, [EMAIL PROTECTED], $save_temps,
$verbose);
+my $fail = run_tests ($program_name, \$prog, [EMAIL PROTECTED], $save_temps,
$verbose);
exit $fail;
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils