exa/xtests
Benjamin Sago 84b01f2064 Fix bug where colours were incorrectly applied
exa assumed that the COLUMNS environment variable being present always meant that the output was to a terminal, so it should use colours. But because this variable can be overridden, colours were being incorrectly set!

The ‘fix’ is to stop trying to be clever while only calculating the terminal width once, and instead just stick it in a lazy_static so it’s usable everywhere.
2017-06-25 14:51:44 +01:00
..
attributes Protect xtests against different default users 2017-04-28 19:34:23 +01:00
dir_paths Tests for the directory path fix 2017-04-29 10:56:17 +01:00
dirs Further tests for printing out directory names 2017-04-29 11:52:44 +01:00
empty Only engage the view when there are files to show 2016-10-29 19:07:43 +01:00
file_names Test change emoji width 2017-05-17 23:12:27 +01:00
file_names_1 Also escape characters in links and headings 2017-05-01 21:54:53 +01:00
file_names_R Test change emoji width 2017-05-17 23:12:27 +01:00
file_names_T Also escape characters in broken symlinks 2017-05-02 08:46:43 +01:00
file_names_x Test change emoji width 2017-05-17 23:12:27 +01:00
file-names-exts Rename file-types tests to file-names-exts 2017-04-28 20:07:31 +01:00
files Replace the testcases script with a Vagrant VM 2016-10-07 19:31:03 +01:00
files_40 Replace the testcases script with a Vagrant VM 2016-10-07 19:31:03 +01:00
files_80 Replace the testcases script with a Vagrant VM 2016-10-07 19:31:03 +01:00
files_120 Replace the testcases script with a Vagrant VM 2016-10-07 19:31:03 +01:00
files_160 Replace the testcases script with a Vagrant VM 2016-10-07 19:31:03 +01:00
files_200 Replace the testcases script with a Vagrant VM 2016-10-07 19:31:03 +01:00
files_l Protect xtests against different default users 2017-04-28 19:34:23 +01:00
files_l_bw Tests for disabling colours 2017-06-25 11:53:59 +01:00
files_l_scale Add xtest for colour scale 2017-05-16 20:53:28 +01:00
files_lG_40 Protect xtests against different default users 2017-04-28 19:34:23 +01:00
files_lG_80 Protect xtests against different default users 2017-04-28 19:34:23 +01:00
files_lG_120 Protect xtests against different default users 2017-04-28 19:34:23 +01:00
files_lG_160 Protect xtests against different default users 2017-04-28 19:34:23 +01:00
files_lG_200 Protect xtests against different default users 2017-04-28 19:34:23 +01:00
files_lh Protect xtests against different default users 2017-04-28 19:34:23 +01:00
files_lhb Protect xtests against different default users 2017-04-28 19:34:23 +01:00
files_lhb2 Protect xtests against different default users 2017-04-28 19:34:23 +01:00
files_star_100 Fix bug where paths took up twice as much space 2017-05-02 17:40:32 +01:00
files_star_150 Fix bug where paths took up twice as much space 2017-05-02 17:40:32 +01:00
files_star_200 Fix bug where paths took up twice as much space 2017-05-02 17:40:32 +01:00
files_star_lG_100 Fix bug where paths took up twice as much space 2017-05-02 17:40:32 +01:00
files_star_lG_150 Fix bug where paths took up twice as much space 2017-05-02 17:40:32 +01:00
files_star_lG_200 Fix bug where paths took up twice as much space 2017-05-02 17:40:32 +01:00
git_additions Add xtests for existing Git implementation 2017-05-17 20:35:05 +01:00
git_edits Add xtests for existing Git implementation 2017-05-17 20:35:05 +01:00
help Remove one last newline from help output 2017-06-23 22:30:48 +01:00
help_long Remove one last newline from help output 2017-06-23 22:30:48 +01:00
ignores_ogg Rename file-types tests to file-names-exts 2017-04-28 20:07:31 +01:00
links Give broken links a different style in grid view 2017-05-07 14:45:04 +01:00
links_1 Add tests for relative symlinks 2017-04-30 11:58:29 +01:00
links_1_files Re-prefix the paths found by following symlinks 2017-05-15 22:38:23 +01:00
links_T Add tests for relative symlinks 2017-04-30 11:58:29 +01:00
passwd Protect xtests against different default users 2017-04-28 19:34:23 +01:00
permissions xtests for higher order bits 2017-05-30 15:32:11 +01:00
permissions_sudo xtests for higher order bits 2017-05-30 15:32:11 +01:00
proc_1_root Fix integration test by making it time-independent 2016-10-30 14:27:20 +00:00
README.md Replace the testcases script with a Vagrant VM 2016-10-07 19:31:03 +01:00
run.sh Fix bug where colours were incorrectly applied 2017-06-25 14:51:44 +01:00
specials Display device IDs when listing devices 2017-05-19 09:20:47 +01:00
specials_F Display device IDs when listing devices 2017-05-19 09:20:47 +01:00

Extra tests

These extra tests are intended to be run from a Vagrant VM that has already had its environment set up -- see the section in the README for more details.