summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-02-24 15:51:11 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-02-24 16:08:54 (GMT)
commit5241c54c358da841a6f96ab8099f787186f34521 (patch)
treeb4c8b84a86e0307d0b500e46805adc26c8c8b9f2
parentbcfb17b890e74538655695c4f76962b16565f664 (diff)
downloadtbdiff-5241c54c358da841a6f96ab8099f787186f34521.tar.gz
Add test case for vu == v2 in 'baserock-system-config-sync'
'baserock-system-config-sync' is doing reverse patching when that happens. This test is to check the expected behaviour.
-rw-r--r--tests/bscs-merge.pass/upgrades.in/systems/factory/orig/etc/file82
-rw-r--r--tests/bscs-merge.pass/upgrades.in/systems/factory/run/etc/file82
-rw-r--r--tests/bscs-merge.pass/upgrades.in/systems/version2/orig/etc/file82
-rw-r--r--tests/bscs-merge.pass/upgrades.in/systems/version2/run/etc/file82
-rw-r--r--tests/bscs-merge.pass/upgrades.out/systems/factory/orig/etc/file82
-rw-r--r--tests/bscs-merge.pass/upgrades.out/systems/factory/run/etc/file82
-rw-r--r--tests/bscs-merge.pass/upgrades.out/systems/version2/orig/etc/file82
-rw-r--r--tests/bscs-merge.pass/upgrades.out/systems/version2/run/etc/file82
8 files changed, 16 insertions, 0 deletions
diff --git a/tests/bscs-merge.pass/upgrades.in/systems/factory/orig/etc/file8 b/tests/bscs-merge.pass/upgrades.in/systems/factory/orig/etc/file8
new file mode 100644
index 0000000..7c1f4fb
--- /dev/null
+++ b/tests/bscs-merge.pass/upgrades.in/systems/factory/orig/etc/file8
@@ -0,0 +1,2 @@
+whereami=v1,vu,v2
+version=v1
diff --git a/tests/bscs-merge.pass/upgrades.in/systems/factory/run/etc/file8 b/tests/bscs-merge.pass/upgrades.in/systems/factory/run/etc/file8
new file mode 100644
index 0000000..24553ad
--- /dev/null
+++ b/tests/bscs-merge.pass/upgrades.in/systems/factory/run/etc/file8
@@ -0,0 +1,2 @@
+whereami=v1,vu,v2
+version=vu
diff --git a/tests/bscs-merge.pass/upgrades.in/systems/version2/orig/etc/file8 b/tests/bscs-merge.pass/upgrades.in/systems/version2/orig/etc/file8
new file mode 100644
index 0000000..24553ad
--- /dev/null
+++ b/tests/bscs-merge.pass/upgrades.in/systems/version2/orig/etc/file8
@@ -0,0 +1,2 @@
+whereami=v1,vu,v2
+version=vu
diff --git a/tests/bscs-merge.pass/upgrades.in/systems/version2/run/etc/file8 b/tests/bscs-merge.pass/upgrades.in/systems/version2/run/etc/file8
new file mode 100644
index 0000000..24553ad
--- /dev/null
+++ b/tests/bscs-merge.pass/upgrades.in/systems/version2/run/etc/file8
@@ -0,0 +1,2 @@
+whereami=v1,vu,v2
+version=vu
diff --git a/tests/bscs-merge.pass/upgrades.out/systems/factory/orig/etc/file8 b/tests/bscs-merge.pass/upgrades.out/systems/factory/orig/etc/file8
new file mode 100644
index 0000000..7c1f4fb
--- /dev/null
+++ b/tests/bscs-merge.pass/upgrades.out/systems/factory/orig/etc/file8
@@ -0,0 +1,2 @@
+whereami=v1,vu,v2
+version=v1
diff --git a/tests/bscs-merge.pass/upgrades.out/systems/factory/run/etc/file8 b/tests/bscs-merge.pass/upgrades.out/systems/factory/run/etc/file8
new file mode 100644
index 0000000..24553ad
--- /dev/null
+++ b/tests/bscs-merge.pass/upgrades.out/systems/factory/run/etc/file8
@@ -0,0 +1,2 @@
+whereami=v1,vu,v2
+version=vu
diff --git a/tests/bscs-merge.pass/upgrades.out/systems/version2/orig/etc/file8 b/tests/bscs-merge.pass/upgrades.out/systems/version2/orig/etc/file8
new file mode 100644
index 0000000..24553ad
--- /dev/null
+++ b/tests/bscs-merge.pass/upgrades.out/systems/version2/orig/etc/file8
@@ -0,0 +1,2 @@
+whereami=v1,vu,v2
+version=vu
diff --git a/tests/bscs-merge.pass/upgrades.out/systems/version2/run/etc/file8 b/tests/bscs-merge.pass/upgrades.out/systems/version2/run/etc/file8
new file mode 100644
index 0000000..24553ad
--- /dev/null
+++ b/tests/bscs-merge.pass/upgrades.out/systems/version2/run/etc/file8
@@ -0,0 +1,2 @@
+whereami=v1,vu,v2
+version=vu