summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-05-05 23:16:01 -0400
committerTavian Barnes <tavianator@tavianator.com>2019-05-05 23:16:01 -0400
commita3c1c3ed54d9d595feb1df38e775af3d6ff9facd (patch)
tree4d7347b1cc073be521cb8f0d6e5b36ab5e091021 /tests
parentdf7d960b0d7e1f9bd8aa58654760e41b6282f78a (diff)
downloadbfs-a3c1c3ed54d9d595feb1df38e775af3d6ff9facd.tar.xz
color: Don't stat() if we don't need to
Diffstat (limited to 'tests')
-rw-r--r--tests/test_color_L_no_stat.out20
-rw-r--r--tests/test_color_no_stat.out20
2 files changed, 40 insertions, 0 deletions
diff --git a/tests/test_color_L_no_stat.out b/tests/test_color_L_no_stat.out
new file mode 100644
index 0000000..c0bb1be
--- /dev/null
+++ b/tests/test_color_L_no_stat.out
@@ -0,0 +1,20 @@
+rainbow
+rainbow/chardev_link
+rainbow/ow
+rainbow/sticky
+rainbow/sticky_ow
+rainbow/socket
+rainbow/broken
+rainbow/file.txt
+rainbow/link.txt
+rainbow/pipe
+rainbow/exec.sh
+rainbow/file.dat
+rainbow/mh1
+rainbow/mh2
+rainbow/sgid
+rainbow/star.gz
+rainbow/star.tar
+rainbow/star.tar.gz
+rainbow/sugid
+rainbow/suid
diff --git a/tests/test_color_no_stat.out b/tests/test_color_no_stat.out
new file mode 100644
index 0000000..1fc5324
--- /dev/null
+++ b/tests/test_color_no_stat.out
@@ -0,0 +1,20 @@
+rainbow
+rainbow/ow
+rainbow/sticky
+rainbow/sticky_ow
+rainbow/socket
+rainbow/broken
+rainbow/chardev_link
+rainbow/link.txt
+rainbow/file.txt
+rainbow/pipe
+rainbow/exec.sh
+rainbow/file.dat
+rainbow/mh1
+rainbow/mh2
+rainbow/sgid
+rainbow/star.gz
+rainbow/star.tar
+rainbow/star.tar.gz
+rainbow/sugid
+rainbow/suid