From 1fbd9806320f6f7d23d5d49100dfa6cb322b68b5 Mon Sep 17 00:00:00 2001
From: Tavian Barnes <tavianator@tavianator.com>
Date: Sat, 7 Jul 2018 16:07:26 -0400
Subject: tests: Add some more tests for broken symlinks

---
 tests/test_H_notdir.out           | 1 +
 tests/test_H_samefile_notdir.out  | 1 +
 tests/test_L_broken.out           | 1 +
 tests/test_L_notdir.out           | 1 +
 tests/test_L_samefile_broken.out  | 1 +
 tests/test_L_samefile_notdir.out  | 1 +
 tests/test_L_samefile_symlink.out | 3 +++
 tests/test_samefile_notdir.out    | 1 +
 8 files changed, 10 insertions(+)
 create mode 100644 tests/test_H_notdir.out
 create mode 100644 tests/test_H_samefile_notdir.out
 create mode 100644 tests/test_L_broken.out
 create mode 100644 tests/test_L_notdir.out
 create mode 100644 tests/test_L_samefile_broken.out
 create mode 100644 tests/test_L_samefile_notdir.out
 create mode 100644 tests/test_L_samefile_symlink.out
 create mode 100644 tests/test_samefile_notdir.out

(limited to 'tests')

diff --git a/tests/test_H_notdir.out b/tests/test_H_notdir.out
new file mode 100644
index 0000000..6e6658d
--- /dev/null
+++ b/tests/test_H_notdir.out
@@ -0,0 +1 @@
+links/notdir
diff --git a/tests/test_H_samefile_notdir.out b/tests/test_H_samefile_notdir.out
new file mode 100644
index 0000000..6e6658d
--- /dev/null
+++ b/tests/test_H_samefile_notdir.out
@@ -0,0 +1 @@
+links/notdir
diff --git a/tests/test_L_broken.out b/tests/test_L_broken.out
new file mode 100644
index 0000000..21d6316
--- /dev/null
+++ b/tests/test_L_broken.out
@@ -0,0 +1 @@
+links/broken
diff --git a/tests/test_L_notdir.out b/tests/test_L_notdir.out
new file mode 100644
index 0000000..6e6658d
--- /dev/null
+++ b/tests/test_L_notdir.out
@@ -0,0 +1 @@
+links/notdir
diff --git a/tests/test_L_samefile_broken.out b/tests/test_L_samefile_broken.out
new file mode 100644
index 0000000..21d6316
--- /dev/null
+++ b/tests/test_L_samefile_broken.out
@@ -0,0 +1 @@
+links/broken
diff --git a/tests/test_L_samefile_notdir.out b/tests/test_L_samefile_notdir.out
new file mode 100644
index 0000000..6e6658d
--- /dev/null
+++ b/tests/test_L_samefile_notdir.out
@@ -0,0 +1 @@
+links/notdir
diff --git a/tests/test_L_samefile_symlink.out b/tests/test_L_samefile_symlink.out
new file mode 100644
index 0000000..222ac78
--- /dev/null
+++ b/tests/test_L_samefile_symlink.out
@@ -0,0 +1,3 @@
+links/file
+links/hardlink
+links/symlink
diff --git a/tests/test_samefile_notdir.out b/tests/test_samefile_notdir.out
new file mode 100644
index 0000000..6e6658d
--- /dev/null
+++ b/tests/test_samefile_notdir.out
@@ -0,0 +1 @@
+links/notdir
-- 
cgit v1.2.3