Fix state tests.

This commit is contained in:
Pedro Algarvio 2012-09-03 16:40:52 +01:00
parent d0a985b773
commit 5ec829a46e
2 changed files with 4 additions and 1 deletions

View file

@ -5,4 +5,5 @@
- source: salt://testfile
file.append:
- text: foo
- text: foo

View file

@ -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