[pve-devel] [PATCH pve-container] added symlink testcase
Wolfgang Bumiller
w.bumiller at proxmox.com
Thu Oct 29 12:02:44 CET 2015
---
src/test/bad-path.txt | 1 +
src/test/test-debian-013/config | 1 +
src/test/test-debian-013/etc/debian_version | 1 +
src/test/test-debian-013/etc/hosts | 1 +
src/test/test-debian-013/etc/hosts.exp | 2 ++
5 files changed, 6 insertions(+)
create mode 100644 src/test/bad-path.txt
create mode 100644 src/test/test-debian-013/config
create mode 100644 src/test/test-debian-013/etc/debian_version
create mode 120000 src/test/test-debian-013/etc/hosts
create mode 100644 src/test/test-debian-013/etc/hosts.exp
diff --git a/src/test/bad-path.txt b/src/test/bad-path.txt
new file mode 100644
index 0000000..cb4e8a5
--- /dev/null
+++ b/src/test/bad-path.txt
@@ -0,0 +1 @@
+This file should never be able to appear in a testcase's output directory.
diff --git a/src/test/test-debian-013/config b/src/test/test-debian-013/config
new file mode 100644
index 0000000..1d29eb6
--- /dev/null
+++ b/src/test/test-debian-013/config
@@ -0,0 +1 @@
+net0: name=eth0,hwaddr=11:22:33:44:55:66,bridge=vmbr0
diff --git a/src/test/test-debian-013/etc/debian_version b/src/test/test-debian-013/etc/debian_version
new file mode 100644
index 0000000..cc40bca
--- /dev/null
+++ b/src/test/test-debian-013/etc/debian_version
@@ -0,0 +1 @@
+8.0
diff --git a/src/test/test-debian-013/etc/hosts b/src/test/test-debian-013/etc/hosts
new file mode 120000
index 0000000..1d68d2e
--- /dev/null
+++ b/src/test/test-debian-013/etc/hosts
@@ -0,0 +1 @@
+../../bad-path.txt
\ No newline at end of file
diff --git a/src/test/test-debian-013/etc/hosts.exp b/src/test/test-debian-013/etc/hosts.exp
new file mode 100644
index 0000000..bd9bcd7
--- /dev/null
+++ b/src/test/test-debian-013/etc/hosts.exp
@@ -0,0 +1,2 @@
+127.0.0.1 localhost.localnet localhost
+127.0.1.1 localhost
--
2.1.4
More information about the pve-devel
mailing list