lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1954 - nss-pam-ldapd-0.8/tests

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1954 - nss-pam-ldapd-0.8/tests



Author: arthur
Date: Sun May  5 12:55:52 2013
New Revision: 1954
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1954&view=revision

Log:
small portability fix in test_pamcmds.sh (24c565c from 0.9)

Modified:
   nss-pam-ldapd-0.8/tests/test_pamcmds.sh

Modified: nss-pam-ldapd-0.8/tests/test_pamcmds.sh
==============================================================================
--- nss-pam-ldapd-0.8/tests/test_pamcmds.sh     Sun May  5 12:53:06 2013        
(r1953)
+++ nss-pam-ldapd-0.8/tests/test_pamcmds.sh     Sun May  5 12:55:52 2013        
(r1954)
@@ -2,7 +2,7 @@
 
 # test_pamcmds.sh - test script to start test_pamcmds.expect
 #
-# Copyright (C) 2011 Arthur de Jong
+# Copyright (C) 2011, 2013 Arthur de Jong
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -29,8 +29,10 @@
 
 # check if we have expect installed
 EXPECT="$(which expect 2> /dev/null || true)"
-if ! [ -x "$EXPECT" ]
+if [ -x "$EXPECT" ]
 then
+  :
+else
   echo "$0: expect not found, not running tests"
   exit 77
 fi
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/