summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/lineinfile/files
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:04:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:04:21 +0000
commit8a754e0858d922e955e71b253c139e071ecec432 (patch)
tree527d16e74bfd1840c85efd675fdecad056c54107 /test/integration/targets/lineinfile/files
parentInitial commit. (diff)
downloadansible-core-8a754e0858d922e955e71b253c139e071ecec432.tar.xz
ansible-core-8a754e0858d922e955e71b253c139e071ecec432.zip
Adding upstream version 2.14.3.upstream/2.14.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/integration/targets/lineinfile/files')
-rw-r--r--test/integration/targets/lineinfile/files/firstmatch.txt5
-rw-r--r--test/integration/targets/lineinfile/files/test.conf5
-rw-r--r--test/integration/targets/lineinfile/files/test.txt5
-rw-r--r--test/integration/targets/lineinfile/files/test_58923.txt4
-rw-r--r--test/integration/targets/lineinfile/files/testempty.txt0
-rw-r--r--test/integration/targets/lineinfile/files/testmultiple.txt7
-rw-r--r--test/integration/targets/lineinfile/files/testnoeof.txt2
-rw-r--r--test/integration/targets/lineinfile/files/teststring.conf5
-rw-r--r--test/integration/targets/lineinfile/files/teststring.txt5
-rw-r--r--test/integration/targets/lineinfile/files/teststring_58923.txt4
10 files changed, 42 insertions, 0 deletions
diff --git a/test/integration/targets/lineinfile/files/firstmatch.txt b/test/integration/targets/lineinfile/files/firstmatch.txt
new file mode 100644
index 0000000..347132c
--- /dev/null
+++ b/test/integration/targets/lineinfile/files/firstmatch.txt
@@ -0,0 +1,5 @@
+line1
+line1
+line1
+line2
+line3
diff --git a/test/integration/targets/lineinfile/files/test.conf b/test/integration/targets/lineinfile/files/test.conf
new file mode 100644
index 0000000..15404cd
--- /dev/null
+++ b/test/integration/targets/lineinfile/files/test.conf
@@ -0,0 +1,5 @@
+[section_one]
+
+[section_two]
+
+[section_three]
diff --git a/test/integration/targets/lineinfile/files/test.txt b/test/integration/targets/lineinfile/files/test.txt
new file mode 100644
index 0000000..8187db9
--- /dev/null
+++ b/test/integration/targets/lineinfile/files/test.txt
@@ -0,0 +1,5 @@
+This is line 1
+This is line 2
+REF this is a line for backrefs REF
+This is line 4
+This is line 5
diff --git a/test/integration/targets/lineinfile/files/test_58923.txt b/test/integration/targets/lineinfile/files/test_58923.txt
new file mode 100644
index 0000000..34579fd
--- /dev/null
+++ b/test/integration/targets/lineinfile/files/test_58923.txt
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+case "`uname`" in
+ Darwin*) if [ -z "$JAVA_HOME" ] ; then
diff --git a/test/integration/targets/lineinfile/files/testempty.txt b/test/integration/targets/lineinfile/files/testempty.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/integration/targets/lineinfile/files/testempty.txt
diff --git a/test/integration/targets/lineinfile/files/testmultiple.txt b/test/integration/targets/lineinfile/files/testmultiple.txt
new file mode 100644
index 0000000..fb57082
--- /dev/null
+++ b/test/integration/targets/lineinfile/files/testmultiple.txt
@@ -0,0 +1,7 @@
+This is line 1
+
+This is line 2
+
+This is line 3
+
+This is line 4
diff --git a/test/integration/targets/lineinfile/files/testnoeof.txt b/test/integration/targets/lineinfile/files/testnoeof.txt
new file mode 100644
index 0000000..152780b
--- /dev/null
+++ b/test/integration/targets/lineinfile/files/testnoeof.txt
@@ -0,0 +1,2 @@
+This is line 1
+This is line 2 \ No newline at end of file
diff --git a/test/integration/targets/lineinfile/files/teststring.conf b/test/integration/targets/lineinfile/files/teststring.conf
new file mode 100644
index 0000000..15404cd
--- /dev/null
+++ b/test/integration/targets/lineinfile/files/teststring.conf
@@ -0,0 +1,5 @@
+[section_one]
+
+[section_two]
+
+[section_three]
diff --git a/test/integration/targets/lineinfile/files/teststring.txt b/test/integration/targets/lineinfile/files/teststring.txt
new file mode 100644
index 0000000..b204494
--- /dev/null
+++ b/test/integration/targets/lineinfile/files/teststring.txt
@@ -0,0 +1,5 @@
+This is line 1
+This is line 2
+(\\w)(\\s+)([\\.,])
+This is line 4
+<FilesMatch ".py[45]?$">
diff --git a/test/integration/targets/lineinfile/files/teststring_58923.txt b/test/integration/targets/lineinfile/files/teststring_58923.txt
new file mode 100644
index 0000000..34579fd
--- /dev/null
+++ b/test/integration/targets/lineinfile/files/teststring_58923.txt
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+case "`uname`" in
+ Darwin*) if [ -z "$JAVA_HOME" ] ; then