summaryrefslogtreecommitdiffstats
path: root/src/tools/rust-installer/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rust-installer/test')
-rw-r--r--src/tools/rust-installer/test/image-docdir1/share/doc/rust/README1
-rw-r--r--src/tools/rust-installer/test/image-docdir1/share/doc/rust/rustdocs.txt1
-rw-r--r--src/tools/rust-installer/test/image-docdir2/share/doc/cargo/README1
-rw-r--r--src/tools/rust-installer/test/image-docdir2/share/doc/cargo/cargodocs.txt1
-rw-r--r--src/tools/rust-installer/test/image1/bin/bad-bin1
-rwxr-xr-xsrc/tools/rust-installer/test/image1/bin/program1
-rwxr-xr-xsrc/tools/rust-installer/test/image1/bin/program21
-rw-r--r--src/tools/rust-installer/test/image1/dir-to-install/foo0
-rw-r--r--src/tools/rust-installer/test/image1/dir-to-not-install/foo0
-rw-r--r--src/tools/rust-installer/test/image1/something-to-install0
-rw-r--r--src/tools/rust-installer/test/image1/something-to-not-install0
-rwxr-xr-xsrc/tools/rust-installer/test/image2/bin/oldprogram1
-rw-r--r--src/tools/rust-installer/test/image2/dir-to-install/bar0
-rw-r--r--src/tools/rust-installer/test/image2/something-to-install0
-rwxr-xr-xsrc/tools/rust-installer/test/image3/bin/cargo1
-rw-r--r--src/tools/rust-installer/test/image4/baz0
-rw-r--r--src/tools/rust-installer/test/image4/dir-to-install/qux/bar0
-rw-r--r--src/tools/rust-installer/test/image5/dir-to-install/foo0
18 files changed, 9 insertions, 0 deletions
diff --git a/src/tools/rust-installer/test/image-docdir1/share/doc/rust/README b/src/tools/rust-installer/test/image-docdir1/share/doc/rust/README
new file mode 100644
index 000000000..871732e64
--- /dev/null
+++ b/src/tools/rust-installer/test/image-docdir1/share/doc/rust/README
@@ -0,0 +1 @@
+rust
diff --git a/src/tools/rust-installer/test/image-docdir1/share/doc/rust/rustdocs.txt b/src/tools/rust-installer/test/image-docdir1/share/doc/rust/rustdocs.txt
new file mode 100644
index 000000000..871732e64
--- /dev/null
+++ b/src/tools/rust-installer/test/image-docdir1/share/doc/rust/rustdocs.txt
@@ -0,0 +1 @@
+rust
diff --git a/src/tools/rust-installer/test/image-docdir2/share/doc/cargo/README b/src/tools/rust-installer/test/image-docdir2/share/doc/cargo/README
new file mode 100644
index 000000000..033a48caf
--- /dev/null
+++ b/src/tools/rust-installer/test/image-docdir2/share/doc/cargo/README
@@ -0,0 +1 @@
+cargo
diff --git a/src/tools/rust-installer/test/image-docdir2/share/doc/cargo/cargodocs.txt b/src/tools/rust-installer/test/image-docdir2/share/doc/cargo/cargodocs.txt
new file mode 100644
index 000000000..033a48caf
--- /dev/null
+++ b/src/tools/rust-installer/test/image-docdir2/share/doc/cargo/cargodocs.txt
@@ -0,0 +1 @@
+cargo
diff --git a/src/tools/rust-installer/test/image1/bin/bad-bin b/src/tools/rust-installer/test/image1/bin/bad-bin
new file mode 100644
index 000000000..b5b0e3234
--- /dev/null
+++ b/src/tools/rust-installer/test/image1/bin/bad-bin
@@ -0,0 +1 @@
+#!/bin/bogus \ No newline at end of file
diff --git a/src/tools/rust-installer/test/image1/bin/program b/src/tools/rust-installer/test/image1/bin/program
new file mode 100755
index 000000000..96b4b06ad
--- /dev/null
+++ b/src/tools/rust-installer/test/image1/bin/program
@@ -0,0 +1 @@
+#!/bin/sh \ No newline at end of file
diff --git a/src/tools/rust-installer/test/image1/bin/program2 b/src/tools/rust-installer/test/image1/bin/program2
new file mode 100755
index 000000000..96b4b06ad
--- /dev/null
+++ b/src/tools/rust-installer/test/image1/bin/program2
@@ -0,0 +1 @@
+#!/bin/sh \ No newline at end of file
diff --git a/src/tools/rust-installer/test/image1/dir-to-install/foo b/src/tools/rust-installer/test/image1/dir-to-install/foo
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/tools/rust-installer/test/image1/dir-to-install/foo
diff --git a/src/tools/rust-installer/test/image1/dir-to-not-install/foo b/src/tools/rust-installer/test/image1/dir-to-not-install/foo
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/tools/rust-installer/test/image1/dir-to-not-install/foo
diff --git a/src/tools/rust-installer/test/image1/something-to-install b/src/tools/rust-installer/test/image1/something-to-install
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/tools/rust-installer/test/image1/something-to-install
diff --git a/src/tools/rust-installer/test/image1/something-to-not-install b/src/tools/rust-installer/test/image1/something-to-not-install
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/tools/rust-installer/test/image1/something-to-not-install
diff --git a/src/tools/rust-installer/test/image2/bin/oldprogram b/src/tools/rust-installer/test/image2/bin/oldprogram
new file mode 100755
index 000000000..96b4b06ad
--- /dev/null
+++ b/src/tools/rust-installer/test/image2/bin/oldprogram
@@ -0,0 +1 @@
+#!/bin/sh \ No newline at end of file
diff --git a/src/tools/rust-installer/test/image2/dir-to-install/bar b/src/tools/rust-installer/test/image2/dir-to-install/bar
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/tools/rust-installer/test/image2/dir-to-install/bar
diff --git a/src/tools/rust-installer/test/image2/something-to-install b/src/tools/rust-installer/test/image2/something-to-install
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/tools/rust-installer/test/image2/something-to-install
diff --git a/src/tools/rust-installer/test/image3/bin/cargo b/src/tools/rust-installer/test/image3/bin/cargo
new file mode 100755
index 000000000..96b4b06ad
--- /dev/null
+++ b/src/tools/rust-installer/test/image3/bin/cargo
@@ -0,0 +1 @@
+#!/bin/sh \ No newline at end of file
diff --git a/src/tools/rust-installer/test/image4/baz b/src/tools/rust-installer/test/image4/baz
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/tools/rust-installer/test/image4/baz
diff --git a/src/tools/rust-installer/test/image4/dir-to-install/qux/bar b/src/tools/rust-installer/test/image4/dir-to-install/qux/bar
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/tools/rust-installer/test/image4/dir-to-install/qux/bar
diff --git a/src/tools/rust-installer/test/image5/dir-to-install/foo b/src/tools/rust-installer/test/image5/dir-to-install/foo
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/tools/rust-installer/test/image5/dir-to-install/foo