From a3c1c3ed54d9d595feb1df38e775af3d6ff9facd Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 5 May 2019 23:16:01 -0400 Subject: color: Don't stat() if we don't need to --- tests/test_color_L_no_stat.out | 20 ++++++++++++++++++++ tests/test_color_no_stat.out | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 tests/test_color_L_no_stat.out create mode 100644 tests/test_color_no_stat.out (limited to 'tests') 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 -- cgit v1.2.3