Test suite: Better diagnostics for recent change to complex/31_nfs_tickle.sh.
authorMartin Schwenke <martin@meltin.net>
Thu, 30 Jul 2009 04:03:44 +0000 (14:03 +1000)
committerMartin Schwenke <martin@meltin.net>
Thu, 30 Jul 2009 04:03:44 +0000 (14:03 +1000)
Add a -v so we see the output of the command that tries to get the
value of NFS_TICKLE_SHARED_DIRECTORY.  That way we can tell if a value
was retrived OK or if we're using the default.

Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/complex/31_nfs_tickle.sh

index 18df17bf97afc0e0d372f00160d3e8ed4332cb04..b982e330f22b5ea3ec508333378307c86d5aa2a2 100755 (executable)
@@ -75,7 +75,7 @@ echo "Sleeping for MonitorInterval..."
 sleep_for $monitor_interval
 
 echo "Trying to determine NFS_TICKLE_SHARED_DIRECTORY..."
-try_command_on_node 0 "sed -n -e s@^NFS_TICKLE_SHARED_DIRECTORY=@@p /etc/sysconfig/nfs" || true
+try_command_on_node -v 0 "sed -n -e s@^NFS_TICKLE_SHARED_DIRECTORY=@@p /etc/sysconfig/nfs" || true
 
 nfs_tickle_shared_directory="${out:-/gpfs/.ctdb/nfs-tickles}"