[m-rev.] diff: disable --More-- prompt in debugger/completion test

Ian MacLarty maclarty at cs.mu.OZ.AU
Wed Sep 22 15:44:27 AEST 2004


Estimated hours taken: 3
Branches: main

Disable --More-- prompt when completion list fills the screen.  This prevents
having to put special control characters in the expected output which were
different on some platforms, causing the test to fail.

tests/debugger/completion.exp
	New expected output without --More-- prompt.

tests/debugger/completion.inputrc
	Added setting to prevent --More-- prompt.

Index: tests/debugger/completion.exp
===================================================================
RCS file: /home/mercury1/repository/tests/debugger/completion.exp,v
retrieving revision 1.20
diff -u -r1.20 completion.exp
--- tests/debugger/completion.exp	20 Sep 2004 04:50:24 -0000	1.20
+++ tests/debugger/completion.exp	22 Sep 2004 03:28:11 -0000
@@ -26,11 +26,11 @@
 dd_dd              ignore             s                  vars
 debug_vars         io_query           save               view
 delete             label_stats        save_to_file       
---More--

disable            level              scope              
+disable            level              scope              
 h              help           histogram_all  histogram_exp  
 var_details     var_name_stats  vars            view
 var_details     var_name_stats  vars            
-help vars 
+ help vars 
 vars
      Prints the names of all the known variables in the current
      environment, together with an ordinal number for each variable.
Index: tests/debugger/completion.inputrc
===================================================================
RCS file: /home/mercury1/repository/tests/debugger/completion.inputrc,v
retrieving revision 1.1
diff -u -r1.1 completion.inputrc
--- tests/debugger/completion.inputrc	6 Mar 2002 14:35:02 -0000	1.1
+++ tests/debugger/completion.inputrc	22 Sep 2004 03:11:07 -0000
@@ -5,5 +5,8 @@
 # requiring multiple `complete' commands.
 set show-all-if-ambiguous on
 
+# Disable --More-- prompt when completion list fills screen.
+set page-completions off
+
 # Make the completion requests show up in the input file.
 @: complete

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list