icons.toml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. # view icons tests
  2. [[cmd]]
  3. name = "‘exa -1 --icons’ shows icons next to file names in lines mode"
  4. shell = "exa -1 --icons /testcases/files"
  5. stdout = { file = "outputs/files_oneline_icons.ansitxt" }
  6. stderr = { empty = true }
  7. status = 0
  8. tags = [ 'oneline', 'icons' ]
  9. [[cmd]]
  10. name = "‘exa --icons’ shows icons next to file names in grid mode"
  11. shell = "exa --icons /testcases/files"
  12. environment = { COLUMNS = "80" }
  13. stdout = { file = "outputs/files_grid_icons.ansitxt" }
  14. stderr = { empty = true }
  15. status = 0
  16. tags = [ 'env', 'grid', 'icons' ]
  17. [[cmd]]
  18. name = "‘exa -l --icons’ shows icons next to file names in long mode"
  19. shell = "exa -l --icons /testcases/files"
  20. stdout = { file = "outputs/files_long_icons.ansitxt" }
  21. stderr = { empty = true }
  22. status = 0
  23. tags = [ 'long', 'icons' ]
  24. [[cmd]]
  25. name = "‘exa -lG --icons’ shows icons next to file names in long-grid mode"
  26. shell = "exa -lG --icons /testcases/files"
  27. environment = { COLUMNS = "80" }
  28. stdout = { file = "outputs/files_long_grid_icons.ansitxt" }
  29. stderr = { empty = true }
  30. status = 0
  31. tags = [ 'env', 'long', 'grid', 'icons' ]
  32. [[cmd]]
  33. name = "‘exa -T --icons’ shows icons next to file names in tree mode"
  34. shell = "exa -T --icons /testcases/files"
  35. environment = { COLUMNS = "80" }
  36. stdout = { file = "outputs/files_tree_icons.ansitxt" }
  37. stderr = { empty = true }
  38. status = 0
  39. tags = [ 'tree', 'icons' ]
  40. [[cmd]]
  41. name = "‘exa -lT --icons’ shows icons next to file names in long-tree mode"
  42. shell = "exa -lT --icons /testcases/files"
  43. stdout = { file = "outputs/files_long_tree_icons.ansitxt" }
  44. stderr = { empty = true }
  45. status = 0
  46. tags = [ 'long', 'tree', 'icons' ]
  47. # file type icons tests
  48. [[cmd]]
  49. name = "‘exa -1 --icons’ produces icons based on file types"
  50. shell = "exa -1 --icons /testcases/file-names-exts"
  51. stdout = { file = "outputs/exts_oneline_icons.ansitxt" }
  52. stderr = { empty = true }
  53. status = 0
  54. tags = [ 'oneline', 'icons' ]
  55. [[cmd]]
  56. name = "‘exa -1 --icons’ produces icons based on permissions"
  57. shell = "exa -1 --icons /testcases/permissions"
  58. stdout = { file = "outputs/permissions_oneline_icons.ansitxt" }
  59. stderr = { empty = true }
  60. status = 0
  61. tags = [ 'oneline', 'icons' ]
  62. [[cmd]]
  63. name = "‘exa -1 --icons’ produces icons for links"
  64. shell = "exa -1 --icons /testcases/links"
  65. stdout = { file = "outputs/links_oneline_icons.ansitxt" }
  66. stderr = { empty = true }
  67. status = 0
  68. tags = [ 'oneline', 'icons' ]
  69. # icon spacing tests
  70. [[cmd]]
  71. name = "‘EXA_ICON_SPACING=0 exa -1 --icons’ puts no spaces between icons and file names"
  72. shell = "EXA_ICON_SPACING=0 exa -1 --icons /testcases/links"
  73. stdout = { file = "outputs/links_oneline_icons_width0.ansitxt" }
  74. stderr = { empty = true }
  75. status = 0
  76. tags = [ 'env', 'oneline', 'icons' ]
  77. [[cmd]]
  78. name = "‘EXA_ICON_SPACING=1 exa -1 --icons’ puts one space between icons and file names"
  79. shell = "EXA_ICON_SPACING=1 exa -1 --icons /testcases/links"
  80. stdout = { file = "outputs/links_oneline_icons.ansitxt" } # same as the default
  81. stderr = { empty = true }
  82. status = 0
  83. tags = [ 'env', 'oneline', 'icons' ]
  84. [[cmd]]
  85. name = "‘EXA_ICON_SPACING=2 exa -1 --icons’ puts two spaces between icons and file names"
  86. shell = "EXA_ICON_SPACING=2 exa -1 --icons /testcases/links"
  87. stdout = { file = "outputs/links_oneline_icons_width2.ansitxt" }
  88. stderr = { empty = true }
  89. status = 0
  90. tags = [ 'env', 'oneline', 'icons' ]
  91. [[cmd]]
  92. name = "‘EXA_ICON_SPACING=3 exa -1 --icons’ puts three spaces between icons and file names"
  93. shell = "EXA_ICON_SPACING=3 exa -1 --icons /testcases/links"
  94. stdout = { file = "outputs/links_oneline_icons_width3.ansitxt" }
  95. stderr = { empty = true }
  96. status = 0
  97. tags = [ 'env', 'oneline', 'icons' ]