summaryrefslogtreecommitdiff
path: root/cpp/src/tests/run_cluster_authentication_test
blob: 15597e7073f64ba472828b08a711a55d99b889d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/bash

SASL_PW=/usr/sbin/saslpasswd2
SASLTEST_DB=./sasl_config/qpidd.sasldb

if [ -e $SASL_PW ]
then
  echo "Building temporary sasl db."
  rm -f $SASLTEST_DB
  echo zig | $SASL_PW -c -p -f $SASLTEST_DB -u QPID zig
  echo zag | $SASL_PW -c -p -f $SASLTEST_DB -u QPID zag
fi

# This test will return something reasonable whether or not sasl exists.
./cluster_authentication_soak