summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-03-17 15:03:40 -0600
committerTavian Barnes <tavianator@tavianator.com>2019-03-17 15:03:40 -0600
commit8ee6de6dd8376a3c087e94fe32d1b6e97a44a862 (patch)
tree0ac87de11fb7f78419d95b2ba339bc8674be8416 /tests
parent0b89f38ca4c0f86f2cbc5f24ed803f070e3a1f77 (diff)
downloadbfs-8ee6de6dd8376a3c087e94fe32d1b6e97a44a862.tar.xz
color: Match the behaviour of GNU ls more closely
Diffstat (limited to 'tests')
-rw-r--r--tests/test_color.out4
-rw-r--r--tests/test_color_L.out6
-rw-r--r--tests/test_color_ext.out4
-rw-r--r--tests/test_color_ext0.out4
-rw-r--r--tests/test_color_ext_override.out4
-rw-r--r--tests/test_color_ext_underride.out4
-rw-r--r--tests/test_color_mh.out4
-rw-r--r--tests/test_color_mh0.out4
-rw-r--r--tests/test_color_mi.out4
-rw-r--r--tests/test_color_missing_colon.out4
-rw-r--r--tests/test_color_or.out2
-rw-r--r--tests/test_color_or0_mi.out2
-rw-r--r--tests/test_color_or0_mi0.out17
-rw-r--r--tests/test_color_or_mi.out2
-rw-r--r--tests/test_color_or_mi0.out2
-rw-r--r--tests/test_color_st0_tw0_ow.out17
-rw-r--r--tests/test_color_st0_tw0_ow0.out17
-rw-r--r--tests/test_color_st0_tw_ow.out17
-rw-r--r--tests/test_color_st0_tw_ow0.out17
-rw-r--r--tests/test_color_st_tw0_ow.out17
-rw-r--r--tests/test_color_st_tw0_ow0.out17
-rw-r--r--tests/test_color_st_tw_ow0.out17
-rw-r--r--tests/test_color_su0_sg.out17
-rw-r--r--tests/test_color_su0_sg0.out17
-rw-r--r--tests/test_color_su_sg0.out17
25 files changed, 212 insertions, 25 deletions
diff --git a/tests/test_color.out b/tests/test_color.out
index 0acd9f0..98d459f 100644
--- a/tests/test_color.out
+++ b/tests/test_color.out
@@ -1,16 +1,16 @@
rainbow
rainbow/exec.sh
rainbow/socket
+rainbow/broken
rainbow/chardev_link
rainbow/link.txt
rainbow/sticky_ow
rainbow/sgid
+rainbow/pipe
rainbow/ow
rainbow/sugid
rainbow/suid
rainbow/sticky
-rainbow/broken
-rainbow/pipe
rainbow/file.dat
rainbow/file.txt
rainbow/mh1
diff --git a/tests/test_color_L.out b/tests/test_color_L.out
index 9e17614..b93716f 100644
--- a/tests/test_color_L.out
+++ b/tests/test_color_L.out
@@ -1,15 +1,15 @@
rainbow
rainbow/exec.sh
+rainbow/chardev_link
rainbow/socket
+rainbow/broken
rainbow/sticky_ow
rainbow/sgid
+rainbow/pipe
rainbow/ow
rainbow/sugid
rainbow/suid
rainbow/sticky
-rainbow/broken
-rainbow/chardev_link
-rainbow/pipe
rainbow/file.dat
rainbow/file.txt
rainbow/link.txt
diff --git a/tests/test_color_ext.out b/tests/test_color_ext.out
index c0bfe44..fff32ef 100644
--- a/tests/test_color_ext.out
+++ b/tests/test_color_ext.out
@@ -1,17 +1,17 @@
rainbow
rainbow/exec.sh
rainbow/socket
+rainbow/broken
rainbow/chardev_link
rainbow/link.txt
rainbow/file.txt
rainbow/sticky_ow
rainbow/sgid
+rainbow/pipe
rainbow/ow
rainbow/sugid
rainbow/suid
rainbow/sticky
-rainbow/broken
-rainbow/pipe
rainbow/file.dat
rainbow/mh1
rainbow/mh2
diff --git a/tests/test_color_ext0.out b/tests/test_color_ext0.out
index aa4c582..c9bc052 100644
--- a/tests/test_color_ext0.out
+++ b/tests/test_color_ext0.out
@@ -2,16 +2,16 @@
rainbow/file.txt
rainbow/exec.sh
rainbow/socket
+rainbow/broken
rainbow/chardev_link
rainbow/link.txt
rainbow/sticky_ow
rainbow/sgid
+rainbow/pipe
rainbow/ow
rainbow/sugid
rainbow/suid
rainbow/sticky
-rainbow/broken
-rainbow/pipe
rainbow/file.dat
rainbow/mh1
rainbow/mh2
diff --git a/tests/test_color_ext_override.out b/tests/test_color_ext_override.out
index ba895ec..cd3231d 100644
--- a/tests/test_color_ext_override.out
+++ b/tests/test_color_ext_override.out
@@ -3,15 +3,15 @@
rainbow/file.dat
rainbow/file.txt
rainbow/socket
+rainbow/broken
rainbow/chardev_link
rainbow/link.txt
rainbow/sticky_ow
rainbow/sgid
+rainbow/pipe
rainbow/ow
rainbow/sugid
rainbow/suid
rainbow/sticky
-rainbow/broken
-rainbow/pipe
rainbow/mh1
rainbow/mh2
diff --git a/tests/test_color_ext_underride.out b/tests/test_color_ext_underride.out
index c9e21f2..127cc66 100644
--- a/tests/test_color_ext_underride.out
+++ b/tests/test_color_ext_underride.out
@@ -3,15 +3,15 @@
rainbow/exec.sh
rainbow/file.dat
rainbow/socket
+rainbow/broken
rainbow/chardev_link
rainbow/link.txt
rainbow/sticky_ow
rainbow/sgid
+rainbow/pipe
rainbow/ow
rainbow/sugid
rainbow/suid
rainbow/sticky
-rainbow/broken
-rainbow/pipe
rainbow/mh1
rainbow/mh2
diff --git a/tests/test_color_mh.out b/tests/test_color_mh.out
index e10ee10..4651cf1 100644
--- a/tests/test_color_mh.out
+++ b/tests/test_color_mh.out
@@ -1,17 +1,17 @@
rainbow
rainbow/exec.sh
rainbow/socket
+rainbow/broken
rainbow/chardev_link
rainbow/link.txt
rainbow/mh1
rainbow/mh2
rainbow/sticky_ow
rainbow/sgid
+rainbow/pipe
rainbow/ow
rainbow/sugid
rainbow/suid
rainbow/sticky
-rainbow/broken
-rainbow/pipe
rainbow/file.dat
rainbow/file.txt
diff --git a/tests/test_color_mh0.out b/tests/test_color_mh0.out
index 0acd9f0..98d459f 100644
--- a/tests/test_color_mh0.out
+++ b/tests/test_color_mh0.out
@@ -1,16 +1,16 @@
rainbow
rainbow/exec.sh
rainbow/socket
+rainbow/broken
rainbow/chardev_link
rainbow/link.txt
rainbow/sticky_ow
rainbow/sgid
+rainbow/pipe
rainbow/ow
rainbow/sugid
rainbow/suid
rainbow/sticky
-rainbow/broken
-rainbow/pipe
rainbow/file.dat
rainbow/file.txt
rainbow/mh1
diff --git a/tests/test_color_mi.out b/tests/test_color_mi.out
index 0acd9f0..98d459f 100644
--- a/tests/test_color_mi.out
+++ b/tests/test_color_mi.out
@@ -1,16 +1,16 @@
rainbow
rainbow/exec.sh
rainbow/socket
+rainbow/broken
rainbow/chardev_link
rainbow/link.txt
rainbow/sticky_ow
rainbow/sgid
+rainbow/pipe
rainbow/ow
rainbow/sugid
rainbow/suid
rainbow/sticky
-rainbow/broken
-rainbow/pipe
rainbow/file.dat
rainbow/file.txt
rainbow/mh1
diff --git a/tests/test_color_missing_colon.out b/tests/test_color_missing_colon.out
index c0bfe44..fff32ef 100644
--- a/tests/test_color_missing_colon.out
+++ b/tests/test_color_missing_colon.out
@@ -1,17 +1,17 @@
rainbow
rainbow/exec.sh
rainbow/socket
+rainbow/broken
rainbow/chardev_link
rainbow/link.txt
rainbow/file.txt
rainbow/sticky_ow
rainbow/sgid
+rainbow/pipe
rainbow/ow
rainbow/sugid
rainbow/suid
rainbow/sticky
-rainbow/broken
-rainbow/pipe
rainbow/file.dat
rainbow/mh1
rainbow/mh2
diff --git a/tests/test_color_or.out b/tests/test_color_or.out
index 5103be1..4668cc0 100644
--- a/tests/test_color_or.out
+++ b/tests/test_color_or.out
@@ -6,11 +6,11 @@
rainbow/broken
rainbow/sticky_ow
rainbow/sgid
+rainbow/pipe
rainbow/ow
rainbow/sugid
rainbow/suid
rainbow/sticky
-rainbow/pipe
rainbow/file.dat
rainbow/file.txt
rainbow/mh1
diff --git a/tests/test_color_or0_mi.out b/tests/test_color_or0_mi.out
index 37b54c5..98d459f 100644
--- a/tests/test_color_or0_mi.out
+++ b/tests/test_color_or0_mi.out
@@ -6,11 +6,11 @@
rainbow/link.txt
rainbow/sticky_ow
rainbow/sgid
+rainbow/pipe
rainbow/ow
rainbow/sugid
rainbow/suid
rainbow/sticky
-rainbow/pipe
rainbow/file.dat
rainbow/file.txt
rainbow/mh1
diff --git a/tests/test_color_or0_mi0.out b/tests/test_color_or0_mi0.out
new file mode 100644
index 0000000..98d459f
--- /dev/null
+++ b/tests/test_color_or0_mi0.out
@@ -0,0 +1,17 @@
+rainbow
+rainbow/exec.sh
+rainbow/socket
+rainbow/broken
+rainbow/chardev_link
+rainbow/link.txt
+rainbow/sticky_ow
+rainbow/sgid
+rainbow/pipe
+rainbow/ow
+rainbow/sugid
+rainbow/suid
+rainbow/sticky
+rainbow/file.dat
+rainbow/file.txt
+rainbow/mh1
+rainbow/mh2
diff --git a/tests/test_color_or_mi.out b/tests/test_color_or_mi.out
index 6727548..8bf605e 100644
--- a/tests/test_color_or_mi.out
+++ b/tests/test_color_or_mi.out
@@ -6,11 +6,11 @@
rainbow/link.txt
rainbow/sticky_ow
rainbow/sgid
+rainbow/pipe
rainbow/ow
rainbow/sugid
rainbow/suid
rainbow/sticky
-rainbow/pipe
rainbow/file.dat
rainbow/file.txt
rainbow/mh1
diff --git a/tests/test_color_or_mi0.out b/tests/test_color_or_mi0.out
index 6727548..8bf605e 100644
--- a/tests/test_color_or_mi0.out
+++ b/tests/test_color_or_mi0.out
@@ -6,11 +6,11 @@
rainbow/link.txt
rainbow/sticky_ow
rainbow/sgid
+rainbow/pipe
rainbow/ow
rainbow/sugid
rainbow/suid
rainbow/sticky
-rainbow/pipe
rainbow/file.dat
rainbow/file.txt
rainbow/mh1
diff --git a/tests/test_color_st0_tw0_ow.out b/tests/test_color_st0_tw0_ow.out
new file mode 100644
index 0000000..51ca9d2
--- /dev/null
+++ b/tests/test_color_st0_tw0_ow.out
@@ -0,0 +1,17 @@
+rainbow
+rainbow/exec.sh
+rainbow/sticky
+rainbow/socket
+rainbow/broken
+rainbow/chardev_link
+rainbow/link.txt
+rainbow/sgid
+rainbow/pipe
+rainbow/ow
+rainbow/sticky_ow
+rainbow/sugid
+rainbow/suid
+rainbow/file.dat
+rainbow/file.txt
+rainbow/mh1
+rainbow/mh2
diff --git a/tests/test_color_st0_tw0_ow0.out b/tests/test_color_st0_tw0_ow0.out
new file mode 100644
index 0000000..e86ae35
--- /dev/null
+++ b/tests/test_color_st0_tw0_ow0.out
@@ -0,0 +1,17 @@
+rainbow
+rainbow/exec.sh
+rainbow/ow
+rainbow/sticky
+rainbow/sticky_ow
+rainbow/socket
+rainbow/broken
+rainbow/chardev_link
+rainbow/link.txt
+rainbow/sgid
+rainbow/pipe
+rainbow/sugid
+rainbow/suid
+rainbow/file.dat
+rainbow/file.txt
+rainbow/mh1
+rainbow/mh2
diff --git a/tests/test_color_st0_tw_ow.out b/tests/test_color_st0_tw_ow.out
new file mode 100644
index 0000000..efb7b39
--- /dev/null
+++ b/tests/test_color_st0_tw_ow.out
@@ -0,0 +1,17 @@
+rainbow
+rainbow/exec.sh
+rainbow/sticky
+rainbow/socket
+rainbow/broken
+rainbow/chardev_link
+rainbow/link.txt
+rainbow/sgid
+rainbow/pipe
+rainbow/ow
+rainbow/sugid
+rainbow/suid
+rainbow/sticky_ow
+rainbow/file.dat
+rainbow/file.txt
+rainbow/mh1
+rainbow/mh2
diff --git a/tests/test_color_st0_tw_ow0.out b/tests/test_color_st0_tw_ow0.out
new file mode 100644
index 0000000..16c6f53
--- /dev/null
+++ b/tests/test_color_st0_tw_ow0.out
@@ -0,0 +1,17 @@
+rainbow
+rainbow/exec.sh
+rainbow/ow
+rainbow/sticky
+rainbow/socket
+rainbow/broken
+rainbow/chardev_link
+rainbow/link.txt
+rainbow/sgid
+rainbow/pipe
+rainbow/sugid
+rainbow/suid
+rainbow/sticky_ow
+rainbow/file.dat
+rainbow/file.txt
+rainbow/mh1
+rainbow/mh2
diff --git a/tests/test_color_st_tw0_ow.out b/tests/test_color_st_tw0_ow.out
new file mode 100644
index 0000000..6c2346c
--- /dev/null
+++ b/tests/test_color_st_tw0_ow.out
@@ -0,0 +1,17 @@
+rainbow
+rainbow/exec.sh
+rainbow/socket
+rainbow/broken
+rainbow/chardev_link
+rainbow/link.txt
+rainbow/sgid
+rainbow/pipe
+rainbow/ow
+rainbow/sticky_ow
+rainbow/sugid
+rainbow/suid
+rainbow/sticky
+rainbow/file.dat
+rainbow/file.txt
+rainbow/mh1
+rainbow/mh2
diff --git a/tests/test_color_st_tw0_ow0.out b/tests/test_color_st_tw0_ow0.out
new file mode 100644
index 0000000..242622d
--- /dev/null
+++ b/tests/test_color_st_tw0_ow0.out
@@ -0,0 +1,17 @@
+rainbow
+rainbow/exec.sh
+rainbow/ow
+rainbow/socket
+rainbow/broken
+rainbow/chardev_link
+rainbow/link.txt
+rainbow/sgid
+rainbow/pipe
+rainbow/sugid
+rainbow/suid
+rainbow/sticky
+rainbow/sticky_ow
+rainbow/file.dat
+rainbow/file.txt
+rainbow/mh1
+rainbow/mh2
diff --git a/tests/test_color_st_tw_ow0.out b/tests/test_color_st_tw_ow0.out
new file mode 100644
index 0000000..c3b5af1
--- /dev/null
+++ b/tests/test_color_st_tw_ow0.out
@@ -0,0 +1,17 @@
+rainbow
+rainbow/exec.sh
+rainbow/ow
+rainbow/socket
+rainbow/broken
+rainbow/chardev_link
+rainbow/link.txt
+rainbow/sgid
+rainbow/pipe
+rainbow/sugid
+rainbow/suid
+rainbow/sticky
+rainbow/sticky_ow
+rainbow/file.dat
+rainbow/file.txt
+rainbow/mh1
+rainbow/mh2
diff --git a/tests/test_color_su0_sg.out b/tests/test_color_su0_sg.out
new file mode 100644
index 0000000..510c431
--- /dev/null
+++ b/tests/test_color_su0_sg.out
@@ -0,0 +1,17 @@
+rainbow
+rainbow/exec.sh
+rainbow/socket
+rainbow/broken
+rainbow/chardev_link
+rainbow/link.txt
+rainbow/sticky_ow
+rainbow/sgid
+rainbow/sugid
+rainbow/pipe
+rainbow/ow
+rainbow/sticky
+rainbow/file.dat
+rainbow/file.txt
+rainbow/mh1
+rainbow/mh2
+rainbow/suid
diff --git a/tests/test_color_su0_sg0.out b/tests/test_color_su0_sg0.out
new file mode 100644
index 0000000..d018c2a
--- /dev/null
+++ b/tests/test_color_su0_sg0.out
@@ -0,0 +1,17 @@
+rainbow
+rainbow/exec.sh
+rainbow/socket
+rainbow/broken
+rainbow/chardev_link
+rainbow/link.txt
+rainbow/sticky_ow
+rainbow/pipe
+rainbow/ow
+rainbow/sticky
+rainbow/file.dat
+rainbow/file.txt
+rainbow/mh1
+rainbow/mh2
+rainbow/sgid
+rainbow/sugid
+rainbow/suid
diff --git a/tests/test_color_su_sg0.out b/tests/test_color_su_sg0.out
new file mode 100644
index 0000000..dffb3c5
--- /dev/null
+++ b/tests/test_color_su_sg0.out
@@ -0,0 +1,17 @@
+rainbow
+rainbow/exec.sh
+rainbow/socket
+rainbow/broken
+rainbow/chardev_link
+rainbow/link.txt
+rainbow/sticky_ow
+rainbow/pipe
+rainbow/ow
+rainbow/sugid
+rainbow/suid
+rainbow/sticky
+rainbow/file.dat
+rainbow/file.txt
+rainbow/mh1
+rainbow/mh2
+rainbow/sgid