$OpenBSD: patch-tests_integration_modules_cmdmod_py,v 1.3 2015/01/16 13:19:48 ajacoutot Exp $

https://github.com/saltstack/salt/commit/1ef276575fa6f95767c70e90b7f77bfdfcc5a045

--- tests/integration/modules/cmdmod.py.orig	Wed Jan 14 19:38:22 2015
+++ tests/integration/modules/cmdmod.py	Fri Jan 16 13:29:58 2015
@@ -69,7 +69,7 @@ class CMDModuleTest(integration.ModuleCase):
         from salt.modules import cmdmod
 
         cmdmod.__grains__ = {'os': 'darwin'}
-        if sys.platform.startswith('freebsd'):
+        if sys.platform.startswith(('freebsd', 'openbsd')):
             shell = '/bin/sh'
         else:
             shell = '/bin/bash'
@@ -101,7 +101,7 @@ class CMDModuleTest(integration.ModuleCase):
         '''
         cmd.run_stderr
         '''
-        if sys.platform.startswith('freebsd'):
+        if sys.platform.startswith(('freebsd', 'openbsd')):
             shell = '/bin/sh'
         else:
             shell = '/bin/bash'
@@ -118,7 +118,7 @@ class CMDModuleTest(integration.ModuleCase):
         '''
         from salt._compat import string_types
 
-        if sys.platform.startswith('freebsd'):
+        if sys.platform.startswith(('freebsd', 'openbsd')):
             shell = '/bin/sh'
         else:
             shell = '/bin/bash'
