diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-02-01 23:22:44 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-02-01 23:22:44 +0200 |
commit | edf554a5da1897833460937730ba9ea88daaf0fc (patch) | |
tree | ae66657576db8ad64759d177432bb53aab9c3116 | |
parent | 478497a0426326a7de3d9b6767daa57766ea0c33 (diff) | |
download | egawk-edf554a5da1897833460937730ba9ea88daaf0fc.tar.gz egawk-edf554a5da1897833460937730ba9ea88daaf0fc.tar.bz2 egawk-edf554a5da1897833460937730ba9ea88daaf0fc.zip |
Fix profile2 test for Windows.
-rw-r--r-- | test/ChangeLog | 6 | ||||
-rw-r--r-- | test/profile2.ok | 2 | ||||
-rw-r--r-- | test/xref.awk | 3 |
3 files changed, 9 insertions, 2 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 7bccdec8..0f380b08 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,9 @@ +Tue Feb 1 23:21:39 2011 Arnold D. Robbins <arnold@skeeve.com> + + * xref.awk: Change sort command to just "sort"; avoids + problems for Windows and is good enough for the test. + * profile2.ok: Update. + Tue Feb 1 10:20:47 2011 Arnold D. Robbins <arnold@skeeve.com> * sortfor.awk: Change magic string to match code. diff --git a/test/profile2.ok b/test/profile2.ok index 6217fcd0..793ee32f 100644 --- a/test/profile2.ok +++ b/test/profile2.ok @@ -68,7 +68,7 @@ } 570 state = nextstate } - 1 sortcmd = "sort -k1" + 1 sortcmd = "sort" 47 for (i = 1; i <= nnames; i++) { 47 printf("%d ", xnames[names[i]]) | sortcmd 47 if (index(names[i], "(") == 0) { # 3 diff --git a/test/xref.awk b/test/xref.awk index 6e562913..94d587f8 100644 --- a/test/xref.awk +++ b/test/xref.awk @@ -76,7 +76,8 @@ state = nextstate } # finished parsing, now ready to print output - sortcmd = "sort -k1" + #sortcmd = "sort -k1" + sortcmd = "sort" for ( i = 1; i <= nnames; i++ ) { printf "%d ", xnames[names[i]] | sortcmd if ( index(names[i],"(") == 0 ) |