#!/bin/sh

# Test jirb functionality with expect script

set -e

# create home cache directory to avoid AppCDS warning on stderr
mkdir -p "$HOME/.cache"

chmod +x "$(dirname $0)/jirb.exp"
"$(dirname $0)/jirb.exp"

# wait a bit to avoid leaking process
sleep 3

exit 0
