diff options
author | pgen <p.gen.progs@gmail.com> | 2022-09-23 18:04:55 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2022-09-23 18:11:27 +0200 |
commit | 9fb44b2276bc7b5532bd925ec4b0751c788bf23b (patch) | |
tree | 8a1b3518b6cd0a64a8773e6f1335dbac374eee48 /tests | |
parent | 2a4e4919592eeea361325d301a7ea4f38a606681 (diff) |
Add tests for horizontal window content shifts
Diffstat (limited to 'tests')
-rw-r--r-- | tests/shifting/data1 | 17 | ||||
-rw-r--r-- | tests/shifting/t0001.good | 17 | ||||
l--------- | tests/shifting/t0001.in | 1 | ||||
-rw-r--r-- | tests/shifting/t0001.tst | 4 | ||||
-rw-r--r-- | tests/shifting/t0002.good | 17 | ||||
l--------- | tests/shifting/t0002.in | 1 | ||||
-rw-r--r-- | tests/shifting/t0002.tst | 4 |
7 files changed, 61 insertions, 0 deletions
diff --git a/tests/shifting/data1 b/tests/shifting/data1 new file mode 100644 index 0000000..d68d97c --- /dev/null +++ b/tests/shifting/data1 @@ -0,0 +1,17 @@ +olav alick ximenes hagen pinchas raymond hartwell stavros simon brit jamal weylin garth rodger gualterio +oswald raff normand powell emile davin hakim enrico +abie cam rowen nicolais paddie fraze ware lenci abbie aharon fremont davide bald jesse lock quinn lev hewie aurthur +dukie rickert +rudolf nickolas averell ellery +garrard broderic shurlock thebault calhoun willdon martin +jarrod say reagan reade poul dennet granthem esme rockie paxon darn jule egon turner elvin clemmie alberto pascale hill irvin lyn +meade malvin fairleigh reinhold neville isaiah lothaire ewan llewellyn dewey kareem jeremy garrett eduard grace haily cirillo harv +salem hercules gaylord torey maurie ash yehudit vale mason +jerry denver clementius saunder brockie urban chaddy smitty harley ethe massimiliano joachim tadeo sinclair dalston +gardy michal filmer clarke raffarty dimitry skippy jay vic nathan donnie perceval damien boonie bryon angus dru sayer woodrow weider town +forrest kurtis avery gerry chaddie pernell orson ave werner itch thedrick klemens humfrid monroe selig westleigh +scotti alanson thibaut keary earvin neall clim cyrus louis wallace agosto +kingston lalo dino meredith wilbert kalle alisander mahmoud georgy david mozes yanaton etan corbie +hugibert umberto jozef evin rog brandy alberik kaleb ermin ripley abdel noll brice +cordy +hector christophorus jerri chuck rees monti diff --git a/tests/shifting/t0001.good b/tests/shifting/t0001.good new file mode 100644 index 0000000..c53c8c5 --- /dev/null +++ b/tests/shifting/t0001.good @@ -0,0 +1,17 @@ +$ OUT=$(LANG=en_US.UTF-8 smenu -n 4 -l t0001.in) + +◀hagen pinchas raymond hartwell stavros simon brit jamal weylin garth▶ ┐ +0:20 69:20 79:20 +◀normand powell emile davin hakim enrico ║ +0:20 22:07 23:07 24:07 25:07 26:07 79:20 +◀nicolais paddie fraze ware lenci abbie aharon fremont davide bald jesse▶ │ +0:20 72:20 79:20 +◀ ▼ +0:20 79:20 +$ + +$ echo ":$OUT:" + +:davin: + +$ exit 0 diff --git a/tests/shifting/t0001.in b/tests/shifting/t0001.in new file mode 120000 index 0000000..0abc8f1 --- /dev/null +++ b/tests/shifting/t0001.in @@ -0,0 +1 @@ +data1
\ No newline at end of file diff --git a/tests/shifting/t0001.tst b/tests/shifting/t0001.tst new file mode 100644 index 0000000..911e289 --- /dev/null +++ b/tests/shifting/t0001.tst @@ -0,0 +1,4 @@ +\S[150]\s[10]OUT=$(LANG=en_US.UTF-8 smenu -n 4 -l t0001.in) +\S[150]\s[150]hhhhhlj>>ll<<h>>kklll<<j>>\r +\S[150]\s[10]echo ":$\s[10]OUT:" +exit 0 diff --git a/tests/shifting/t0002.good b/tests/shifting/t0002.good new file mode 100644 index 0000000..0da7084 --- /dev/null +++ b/tests/shifting/t0002.good @@ -0,0 +1,17 @@ +$ OUT=$(LANG=en_US.UTF-8 smenu -n 4 -l t0002.in) + +◀hagen pinchas raymond hartwell stavros simon brit jamal weylin garth▶ ┐ +0:20 69:20 79:20 +◀powell emile davin hakim enrico ║ +0:20 79:20 +◀nicolais paddie fraze ware lenci abbie aharon fremont davide bald jesse lock▶ │ +0:20 17:07 18:07 19:07 20:07 21:07 77:20 79:20 +◀ ▼ +0:20 79:20 +$ + +$ echo ":$OUT:" + +:fraze: + +$ exit 0 diff --git a/tests/shifting/t0002.in b/tests/shifting/t0002.in new file mode 120000 index 0000000..0abc8f1 --- /dev/null +++ b/tests/shifting/t0002.in @@ -0,0 +1 @@ +data1
\ No newline at end of file diff --git a/tests/shifting/t0002.tst b/tests/shifting/t0002.tst new file mode 100644 index 0000000..93c582e --- /dev/null +++ b/tests/shifting/t0002.tst @@ -0,0 +1,4 @@ +\S[150]\s[10]OUT=$(LANG=en_US.UTF-8 smenu -n 4 -l t0002.in) +\S[150]\s[150]llllll>>>>>>>jjj<<<<<<<<klll>>>\r +\S[150]\s[10]echo ":$\s[10]OUT:" +exit 0 |