diff options
author | pgen <p.gen.progs@gmail.com> | 2018-05-11 15:52:00 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2018-05-11 17:37:28 +0200 |
commit | b1dcb7e0487b48eedd140385428ae8dafd5ec564 (patch) | |
tree | 010edc40219b63f3867857370ed62c425f15bded /tests/long_lines | |
parent | 95c9eb53593c554ff443cb94a220062b6e36bb31 (diff) |
Add the first roll of an automated testing system.
Diffstat (limited to 'tests/long_lines')
-rw-r--r-- | tests/long_lines/data1 | 6 | ||||
-rw-r--r-- | tests/long_lines/t0001.good | 17 | ||||
l--------- | tests/long_lines/t0001.in | 1 | ||||
-rw-r--r-- | tests/long_lines/t0001.tst | 4 | ||||
-rw-r--r-- | tests/long_lines/t0002.good | 17 | ||||
l--------- | tests/long_lines/t0002.in | 1 | ||||
-rw-r--r-- | tests/long_lines/t0002.tst | 4 | ||||
-rw-r--r-- | tests/long_lines/t0003.good | 17 | ||||
l--------- | tests/long_lines/t0003.in | 1 | ||||
-rw-r--r-- | tests/long_lines/t0003.tst | 4 | ||||
-rw-r--r-- | tests/long_lines/t0004.good | 17 | ||||
l--------- | tests/long_lines/t0004.in | 1 | ||||
-rw-r--r-- | tests/long_lines/t0004.tst | 5 | ||||
-rw-r--r-- | tests/long_lines/t0005.good | 17 | ||||
l--------- | tests/long_lines/t0005.in | 1 | ||||
-rw-r--r-- | tests/long_lines/t0005.tst | 5 | ||||
-rw-r--r-- | tests/long_lines/t0006.good | 17 | ||||
l--------- | tests/long_lines/t0006.in | 1 | ||||
-rw-r--r-- | tests/long_lines/t0006.tst | 5 | ||||
-rw-r--r-- | tests/long_lines/t0007.good | 17 | ||||
l--------- | tests/long_lines/t0007.in | 1 | ||||
-rw-r--r-- | tests/long_lines/t0007.tst | 5 | ||||
l--------- | tests/long_lines/t0008.in | 1 |
23 files changed, 165 insertions, 0 deletions
diff --git a/tests/long_lines/data1 b/tests/long_lines/data1 new file mode 100644 index 0000000..591c027 --- /dev/null +++ b/tests/long_lines/data1 @@ -0,0 +1,6 @@ +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 +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 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 +101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 +131 132 133 134 135 136 137 138 139 140 +141 142 143 144 145 146 147 148 149 150 diff --git a/tests/long_lines/t0001.good b/tests/long_lines/t0001.good new file mode 100644 index 0000000..090dd96 --- /dev/null +++ b/tests/long_lines/t0001.good @@ -0,0 +1,17 @@ +$ OUT=$(LC_ALL=en_US.UTF-8 smenu -n 4 -l t0001.in) + +←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 ┐ +0:01 79:20 +←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→ │ +0:01 75:01 79:20 +←63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87→ ║ +0:01 75:01 79:20 +←102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120→ ▼ +0:01 41:07 42:07 43:07 76:01 79:20 +$ + +$ echo ":$OUT:" + +:112: + +$ exit 0 diff --git a/tests/long_lines/t0001.in b/tests/long_lines/t0001.in new file mode 120000 index 0000000..0abc8f1 --- /dev/null +++ b/tests/long_lines/t0001.in @@ -0,0 +1 @@ +data1
\ No newline at end of file diff --git a/tests/long_lines/t0001.tst b/tests/long_lines/t0001.tst new file mode 100644 index 0000000..f285282 --- /dev/null +++ b/tests/long_lines/t0001.tst @@ -0,0 +1,4 @@ +\S[10]OUT=$(LC_ALL=en_US.UTF-8 smenu -n 4 -l t0001.in) +\S[100]\s[120]hhhhhljjhhjjhhkkhhkkhhjjllkklljjhhhhhjjhhjjllkkhhkkhhjjhhhhhkkhhhhjjjhhhhhh\r +\s[0]echo ":$OUT:" +exit 0 diff --git a/tests/long_lines/t0002.good b/tests/long_lines/t0002.good new file mode 100644 index 0000000..92a7b3e --- /dev/null +++ b/tests/long_lines/t0002.good @@ -0,0 +1,17 @@ +$ OUT=$(LC_ALL=en_US.UTF-8 smenu -n 4 -c t0002.in) + +←12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 ┐ +0:01 79:20 +←43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 │ +0:01 79:20 +←72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 → ║ +0:01 76:01 79:20 +←112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 ▼ +0:01 37:07 38:07 39:07 79:20 +$ + +$ echo ":$OUT:" + +:121: + +$ exit 0 diff --git a/tests/long_lines/t0002.in b/tests/long_lines/t0002.in new file mode 120000 index 0000000..0abc8f1 --- /dev/null +++ b/tests/long_lines/t0002.in @@ -0,0 +1 @@ +data1
\ No newline at end of file diff --git a/tests/long_lines/t0002.tst b/tests/long_lines/t0002.tst new file mode 100644 index 0000000..51de73c --- /dev/null +++ b/tests/long_lines/t0002.tst @@ -0,0 +1,4 @@ +\S[10]OUT=$(LC_ALL=en_US.UTF-8 smenu -n 4 -c t0002.in) +\S[100]\s[120]hhhhhljjhhjjhhkkhhkkhhjjllkklljjhhhhhjjhhjjllkkhhkkhhjjhhhhhkkhhhhjjjhhhhhh\r +\s[0]echo ":$OUT:" +exit 0 diff --git a/tests/long_lines/t0003.good b/tests/long_lines/t0003.good new file mode 100644 index 0000000..b95af66 --- /dev/null +++ b/tests/long_lines/t0003.good @@ -0,0 +1,17 @@ +$ OUT=$(LC_ALL=en_US.UTF-8 smenu -t -n 4 t0003.in) + +20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 ▲ +77:20 +40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 │ +77:20 +59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 ║ +77:20 +78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 ▼ +44:07 45:07 46:07 77:20 +$ + +$ echo ":$OUT:" + +:89: + +$ exit 0 diff --git a/tests/long_lines/t0003.in b/tests/long_lines/t0003.in new file mode 120000 index 0000000..0abc8f1 --- /dev/null +++ b/tests/long_lines/t0003.in @@ -0,0 +1 @@ +data1
\ No newline at end of file diff --git a/tests/long_lines/t0003.tst b/tests/long_lines/t0003.tst new file mode 100644 index 0000000..d13854f --- /dev/null +++ b/tests/long_lines/t0003.tst @@ -0,0 +1,4 @@ +\S[10]OUT=$(LC_ALL=en_US.UTF-8 smenu -t -n 4 t0003.in) +\S[100]\s[120]hhhhhljjhhjjhhkkhhkkhhjjllkklljjhhhhhjjhhjjllkkhhkkhhjjhhhhhkkhhhhjjjhhhhhh\r +\s[0]echo ":$OUT:" +exit 0 diff --git a/tests/long_lines/t0004.good b/tests/long_lines/t0004.good new file mode 100644 index 0000000..18c2bc5 --- /dev/null +++ b/tests/long_lines/t0004.good @@ -0,0 +1,17 @@ +$ OUT=$(LC_ALL=en_US.UTF-8 smenu -l -n 4 t0004.in) + + 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77→ ▲ +0:01 51:01 54:20 + 101 102 103 104 105 106 107 108 109 110 111 112 113→ │ +0:01 45:07 46:07 47:07 52:01 54:20 + 131 132 133 134 135 136 137 138 139 140 ║ +0:01 54:20 + 141 142 143 144 145 146 147 148 149 150 ┘ +0:01 54:20 +$ + +$ echo ":$OUT:" + +:112: + +$ exit 0 diff --git a/tests/long_lines/t0004.in b/tests/long_lines/t0004.in new file mode 120000 index 0000000..0abc8f1 --- /dev/null +++ b/tests/long_lines/t0004.in @@ -0,0 +1 @@ +data1
\ No newline at end of file diff --git a/tests/long_lines/t0004.tst b/tests/long_lines/t0004.tst new file mode 100644 index 0000000..9b54fa5 --- /dev/null +++ b/tests/long_lines/t0004.tst @@ -0,0 +1,5 @@ +\S[10]OUT=$(LC_ALL=en_US.UTF-8 smenu -l -n 4 t0004.in) +\S[100]\s[120]hhhhhljjhhjjhhkkhhkkhhjjllkklljjhhhhhjjhhjjllkkhhkkhhjjhhhhhkkhhhhjjjhhhhhh\ +\W[75x24]\S[2000]\W[45x24]\S[2000]\W[55x24]\S[2000]\r +\s[0]echo ":$OUT:" +exit 0 diff --git a/tests/long_lines/t0005.good b/tests/long_lines/t0005.good new file mode 100644 index 0000000..94aa606 --- /dev/null +++ b/tests/long_lines/t0005.good @@ -0,0 +1,17 @@ +$ OUT=$(LC_ALL=en_US.UTF-8 smenu -c -n 4 t0005.in) + +←69 70 71 72 73 74 75 76 77 78 79 80 81 → ▲ +0:01 52:01 54:20 +←109 110 111 112 113 114 115 116 117 118 119 120 121→ │ +0:01 49:07 50:07 51:07 52:01 54:20 +←139 140 ║ +0:01 54:20 +←149 150 ┘ +0:01 54:20 +$ + +$ echo ":$OUT:" + +:121: + +$ exit 0 diff --git a/tests/long_lines/t0005.in b/tests/long_lines/t0005.in new file mode 120000 index 0000000..0abc8f1 --- /dev/null +++ b/tests/long_lines/t0005.in @@ -0,0 +1 @@ +data1
\ No newline at end of file diff --git a/tests/long_lines/t0005.tst b/tests/long_lines/t0005.tst new file mode 100644 index 0000000..c0351f3 --- /dev/null +++ b/tests/long_lines/t0005.tst @@ -0,0 +1,5 @@ +\S[10]OUT=$(LC_ALL=en_US.UTF-8 smenu -c -n 4 t0005.in) +\S[100]\s[120]hhhhhljjhhjjhhkkhhkkhhjjllkklljjhhhhhjjhhjjllkkhhkkhhjjhhhhhkkhhhhjjjhhhhhh\ +\W[75x24]\S[2000]\W[45x24]\S[2000]\W[55x24]\S[2000]\r +\s[0]echo ":$OUT:" +exit 0 diff --git a/tests/long_lines/t0006.good b/tests/long_lines/t0006.good new file mode 100644 index 0000000..fd5e624 --- /dev/null +++ b/tests/long_lines/t0006.good @@ -0,0 +1,17 @@ +$ OUT=$(LC_ALL=en_US.UTF-8 smenu -t -n 4 t0006.in) + +67 68 69 70 71 72 73 74 75 76 77 78 79 ▲ +53:20 +80 81 82 83 84 85 86 87 88 89 90 91 92 │ +36:07 37:07 38:07 53:20 +93 94 95 96 97 98 99 100 101 102 103 104 105 ║ +53:20 +106 107 108 109 110 111 112 113 114 115 116 117 118 ▼ +53:20 +$ + +$ echo ":$OUT:" + +:89: + +$ exit 0 diff --git a/tests/long_lines/t0006.in b/tests/long_lines/t0006.in new file mode 120000 index 0000000..0abc8f1 --- /dev/null +++ b/tests/long_lines/t0006.in @@ -0,0 +1 @@ +data1
\ No newline at end of file diff --git a/tests/long_lines/t0006.tst b/tests/long_lines/t0006.tst new file mode 100644 index 0000000..3a08da0 --- /dev/null +++ b/tests/long_lines/t0006.tst @@ -0,0 +1,5 @@ +\S[10]OUT=$(LC_ALL=en_US.UTF-8 smenu -t -n 4 t0006.in) +\S[100]\s[120]hhhhhljjhhjjhhkkhhkkhhjjllkklljjhhhhhjjhhjjllkkhhkkhhjjhhhhhkkhhhhjjjhhhhhh\ +\W[75x24]\S[2000]\W[45x24]\S[2000]\W[55x24]\S[2000]\r +\s[0]echo ":$OUT:" +exit 0 diff --git a/tests/long_lines/t0007.good b/tests/long_lines/t0007.good new file mode 100644 index 0000000..1d76dd2 --- /dev/null +++ b/tests/long_lines/t0007.good @@ -0,0 +1,17 @@ +$ OUT=$(LC_ALL=en_US.UTF-8 smenu -n 4 t0007.in) + +90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 ▲ +53:20 +105 106 107 108 109 110 111 112 113 114 115 116 117 │ +32:07 33:07 34:07 53:20 +118 119 120 121 122 123 124 125 126 127 128 129 130 ║ +53:20 +131 132 133 134 135 136 137 138 139 140 141 142 143 ▼ +53:20 +$ + +$ echo ":$OUT:" + +:113: + +$ exit 0 diff --git a/tests/long_lines/t0007.in b/tests/long_lines/t0007.in new file mode 120000 index 0000000..0abc8f1 --- /dev/null +++ b/tests/long_lines/t0007.in @@ -0,0 +1 @@ +data1
\ No newline at end of file diff --git a/tests/long_lines/t0007.tst b/tests/long_lines/t0007.tst new file mode 100644 index 0000000..3c54149 --- /dev/null +++ b/tests/long_lines/t0007.tst @@ -0,0 +1,5 @@ +\S[10]OUT=$(LC_ALL=en_US.UTF-8 smenu -n 4 t0007.in) +\S[100]\s[120]hhhhhljjhhjjhhkkhhkkhhjjllkklljjhhhhhjjhhjjllkkhhkkhhjjhhhhhkkhhhhjjjhhhhhh\ +\W[75x24]\S[2000]\W[45x24]\S[2000]\W[55x24]\S[2000]\r +\s[0]echo ":$OUT:" +exit 0 diff --git a/tests/long_lines/t0008.in b/tests/long_lines/t0008.in new file mode 120000 index 0000000..0abc8f1 --- /dev/null +++ b/tests/long_lines/t0008.in @@ -0,0 +1 @@ +data1
\ No newline at end of file |