mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix state tests.
This commit is contained in:
parent
d0a985b773
commit
5ec829a46e
2 changed files with 4 additions and 1 deletions
|
@ -5,4 +5,5 @@
|
|||
- source: salt://testfile
|
||||
|
||||
file.append:
|
||||
- text: foo
|
||||
- text: foo
|
||||
|
||||
|
|
|
@ -60,6 +60,7 @@ class StateModuleTest(integration.ModuleCase):
|
|||
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
|
||||
debian_chroot=$(cat /etc/debian_chroot)
|
||||
fi
|
||||
|
||||
# enable bash completion in interactive shells
|
||||
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
|
||||
. /etc/bash_completion
|
||||
|
@ -75,6 +76,7 @@ fi
|
|||
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
|
||||
debian_chroot=$(cat /etc/debian_chroot)
|
||||
fi
|
||||
|
||||
# enable bash completion in interactive shells
|
||||
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
|
||||
. /etc/bash_completion
|
||||
|
|
Loading…
Add table
Reference in a new issue