[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
- Re: vms:test variables, (continued)
- Re: vms:test variables, h.becker, 2014/04/04
- Re: vms:test variables, John E. Malmberg, 2014/04/06
- Re: vms:test variables, h.becker, 2014/04/06
- Re: vms:test variables, John E. Malmberg, 2014/04/06
- Re: vms:test variables, h.becker, 2014/04/07
- Re: vms:test variables, John E. Malmberg, 2014/04/08
- Re: vms:test variables, h.becker, 2014/04/08
- Re: vms:test variables, John E. Malmberg, 2014/04/09
- Re: vms:test variables, h.becker, 2014/04/10
- Re: vms:test variables, h.becker, 2014/04/11
- Re: vms:test variables,
John E. Malmberg <=
- Re: vms:test variables, h.becker, 2014/04/12
- Re: vms:test variables, h.becker, 2014/04/14
- Re: vms:test variables, John E. Malmberg, 2014/04/15
- Re: vms:test variables, h.becker, 2014/04/15