aboutsummaryrefslogtreecommitdiff
path: root/sam
AgeCommit message (Collapse)AuthorFilesLines
2020-07-12test/sam: set LANG=en_US.UTF-8Marc André Tanner1-0/+2
Conceptually C.UTF-8 would be the correct setting. However, it is currently not supported by upstream glibc (albeit patched in by various distriubtions e.g. Debian, Ubuntu and Fedora). The vis specific tests already use the same locale, hence it is not a new dependency and the Debian CI script has been adapted accordingly in martanne/vis@b0192ce. Fix #25
2020-07-11test: move failing sam tests to visMarc André Tanner6-6/+0
Contrary to sam we do currently not change the buffer if the external command fails. Fix #24
2020-02-13test/sam: add test for anchor behavior involving new linesMarc André Tanner2-0/+2
2018-02-19test/sam: add regression test to delete empty lines using x g/^$/ dMarc André Tanner2-0/+18
2017-07-08test/sam: add simple search replace unicode regression testMarc André Tanner2-0/+6
2017-04-06test: terminate tests via command line argument not lua codeMarc André Tanner2-3/+2
Executing a vis:command("qall!") or similar from a Lua WIN_OPEN event handler is a bad idea.
2017-04-06test: fail test with error on bad return codeChristian Hesse1-1/+2
Close #10
2017-02-14Skip tests if Lua support is not compiled inMarc André Tanner1-0/+5
2017-02-02test/sam: add more testsMarc André Tanner25-1/+66
2017-01-13test/sam: add test for new grouping semanticsMarc André Tanner2-0/+5
The more idomatic ,x/[a-zA-Z]+/{ g/Emacs/ v/....../ c/vi/ g/vi/ v/.../ c/Emacs/ } does not seem to work on the sam version from 9base as shipped by Ubuntu 12.04 LTS and used in the Travis environment.
2017-01-12test/sam: adapt tests to new grouping semanticsMarc André Tanner21-60/+63
2017-01-07test/sam: work around bug of 9base sam as shipped by Ubuntu 12.04Marc André Tanner1-1/+1
For some reason this sam version does match nothing for: /[a-zA-Z]+/ This should finally fix the Travis failure for Linux builds.
2017-01-05test/sam: use smaller file for filter test caseMarc André Tanner1-1/+1
The old test case invoked tr(1) about 485 times which might be the reason for the test failure of the Travis Linux builds.
2016-12-30test/sam: try to fix travis list outputMarc André Tanner1-2/+2
2016-12-30Revert "Make sure that info messages are printed before test case is run"Marc André Tanner1-1/+1
This reverts commit 8a366cebda597e960f1f49e245785f8fdedff0a6. Travis is strange.
2016-12-28Make sure that info messages are printed before test case is runMarc André Tanner1-1/+1
Useful for hanging tests also redirect stdout to /dev/null for better output on Travis.
2016-12-19test: ignore custom visrc.lua configurationMarc André Tanner2-0/+1
2016-11-21test/sam: use our own implementation of ssam(1)Marc André Tanner2-16/+27
The ssam(1) rc script is seamingly not part of earlier 9base packages and the homebrew version is by default unusable due to a broken shebang line. Also improve sam(1) detection: check default binary location as used by the Debian package.
2016-11-21test/sam: apply commands to complete fileMarc André Tanner1-1/+1
2016-11-19test/sam: try to fall back to `9 ssam` if ssam is not foundMarc André Tanner1-5/+12
2016-11-11test/sam: few new testsMarc André Tanner4-0/+19
2016-11-05test/sam: improve test outputMarc André Tanner1-2/+2
Redirect the vis UI to /dev/null. Let it write to an output file instead of redirecting stdout, keeps the terminal in a sane state.
2016-11-05test/sam: add new test casesMarc André Tanner10-0/+75
2016-11-05test/sam: add more remarks about sam incompatibilities to READMEMarc André Tanner1-12/+51
2016-11-03test/sam: add sam testing infrastructureMarc André Tanner4-0/+128
Compare structural regular expression implementation with the one of sam(1).