bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vms:test variables


From: John E. Malmberg
Subject: Re: vms:test variables
Date: Fri, 11 Apr 2014 18:31:30 -0500
User-agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3

On 4/11/2014 5:18 PM, h.becker wrote:
I hacked a fix for the automatic variables. To pass the test, the vms
version of the test script needs a fix as well:

--- ../origtests/automatic      Fri Apr 11 18:11:32 2014
+++ tests/scripts/variables/automatic   Fri Apr 11 18:10:19 2014
@@ -73,9 +73,10 @@
    # Fix vms directory syntax
    $answer =~ s#\]/#\]#g;
    # vms returns current directory as []
-  $answer =~ s#\s\.,# \[\],#;
+  $answer =~ s#\s\.,# \[\],#g;
    # vms returns current directory as [] with a comma separator
    $answer =~ s#\s\.\s# \[\],#g;
+  $answer =~ s#\]\s\[#\],\[#g;
    # vms has comma separator instead of space.
    $answer =~ s/baz\.z\s\[/baz\.z,\[/g;
    $answer =~ s/baz\.z\sb/baz\.z,b/g;

I see that.

The test is still failing for me:

Expected output fragment:

$^ = baz.z,[-.tests]bar.y, $(^D) = [],[-.tests], $(^F) = baz.z,bar.y
$+ = baz.z,[-.tests]bar.y,baz.z, $(+D) = [],[-.tests],[], $(+F) = baz.z,bar.y,baz.z

Actual output:

! $^ = baz.z,[-.tests]bar.y, $(^D) = baz.z,[-.tests], $(^F) = bar.y
! $+ = baz.z,[-.tests]bar.y,baz.z, $(+D) = baz.z,[-.tests], $(+F) = bar.y,baz.z

The first line is missing bar.z.

In the second line expected ",[]" is missing, and so is the second baz.z.

Regards,
-John






reply via email to

[Prev in Thread] Current Thread [Next in Thread]