File: interactive-tests.patch

package info (click to toggle)
jed-extra 2.5.7%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,212 kB
  • sloc: sh: 47; ruby: 43; sed: 38; makefile: 8
file content (81 lines) | stat: -rw-r--r-- 2,412 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
Description: Declare some tests as interactive
Author: Rafael Laboissière <rafael@debian.org>
Forwarded: no
Last-Update: 2021-08-30

--- jed-extra-2.5.7.orig/tests/ch_table-test.sl
+++ jed-extra-2.5.7/tests/ch_table-test.sl
@@ -157,7 +157,7 @@ static define test_ct_down()
 
 % ct_insert_and_close: undefined  Undocumented
 %  static define ct_insert_and_close ()
-static define test_ct_insert_and_close()
+static define test_ct_insert_and_close_interactive()
 {
    % open char-table, go to second line, insert-and-close
    special_chars();
--- jed-extra-2.5.7.orig/tests/listing-test.sl
+++ jed-extra-2.5.7/tests/listing-test.sl
@@ -59,7 +59,7 @@ static define test_null_fun()
 %       !: all,
 %       q:quit,
 % Int  listing->get_confirmation(Str prompt, Str default=""); Ask whether a list of actions should go on
-static define test_get_confirmation_yes()
+static define test_get_confirmation_yes_interactive()
 {
    listing->Dont_Ask = 0;
    clear_input();
@@ -70,7 +70,7 @@ static define test_get_confirmation_yes(
    clear_input();
 }
 
-static define test_get_confirmation_no()
+static define test_get_confirmation_no_interactive()
 {
    listing->Dont_Ask = 0;
    clear_input();
@@ -81,7 +81,7 @@ static define test_get_confirmation_no()
    clear_input();
 }
    
-static define test_get_confirmation_with_default()
+static define test_get_confirmation_with_default_interactive()
 {
    listing->Dont_Ask = 0;
    clear_input();
@@ -102,7 +102,7 @@ static define test_get_confirmation_with
    clear_input();
 }
 
-static define test_get_confirmation_all()
+static define test_get_confirmation_all_interactive()
 {
    listing->Dont_Ask = 0;
    clear_input();
@@ -116,7 +116,7 @@ static define test_get_confirmation_all(
    clear_input();
 }
 
-static define test_get_confirmation_abort()
+static define test_get_confirmation_abort_interactive()
 {
    variable err;
    listing->Dont_Ask = 0;
@@ -133,7 +133,7 @@ static define test_get_confirmation_abor
    clear_input();
 }
 
-static define test_get_confirmation_wrong_key()
+static define test_get_confirmation_wrong_key_interactive()
 {
    variable err;
    listing->Dont_Ask = 0;
@@ -245,7 +245,7 @@ static define test_tag_all()
 
 % static define tag_matching() %(how)
 % tag_matching: undefined  Undocumented
-static define test_tag_matching()
+static define test_tag_matching_interactive()
 {
    clear_input();
    listing_mode();