forked from holocm/holo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add (failing) test for holocm#24
- Loading branch information
Luke Shumaker
committed
Jan 24, 2017
1 parent
dae07d4
commit 089a321
Showing
10 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
It is desirable that if a user has manually altered a file, but in a | ||
way that is identical to the way that `holo apply` would have altered | ||
it, that holo should accept this change, rather than making the user | ||
first revert it, only to make the same change again. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
exit status 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
diff --holo target/var/lib/holo/files/provisioned/etc/normal.conf target/etc/normal.conf | ||
--- target/var/lib/holo/files/provisioned/etc/normal.conf | ||
+++ target/etc/normal.conf | ||
@@ -1,2 +1,2 @@ | ||
-bbb | ||
-bbb | ||
+ccc | ||
+ccc | ||
exit status 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
file:target/etc/normal.conf | ||
store at target/var/lib/holo/files/base/etc/normal.conf | ||
apply target/usr/share/holo/files/01-first/etc/normal.conf | ||
|
||
exit status 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
>> ./etc/holorc = symlink | ||
../../../holorc | ||
>> ./etc/normal.conf = regular | ||
ccc | ||
ccc | ||
>> ./run = dir | ||
>> ./tmp = dir | ||
>> ./usr/share/holo/files/01-first/etc/normal.conf = regular | ||
ccc | ||
ccc | ||
>> ./var/lib/holo/files/base/etc/normal.conf = regular | ||
aaa | ||
aaa | ||
>> ./var/lib/holo/files/provisioned/etc/normal.conf = regular | ||
ccc | ||
ccc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../holorc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ccc | ||
ccc |
2 changes: 2 additions & 0 deletions
2
test/14-silent-apply/source/usr/share/holo/files/01-first/etc/normal.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ccc | ||
ccc |
2 changes: 2 additions & 0 deletions
2
test/14-silent-apply/source/var/lib/holo/files/base/etc/normal.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
aaa | ||
aaa |
2 changes: 2 additions & 0 deletions
2
test/14-silent-apply/source/var/lib/holo/files/provisioned/etc/normal.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bbb | ||
bbb |