10 lines
336 B
Bash
Executable File
10 lines
336 B
Bash
Executable File
#!/bin/bash
|
|
# test_smoke_basic.sh - Verifies drharness outputs a mock response correctly
|
|
|
|
OUTPUT=$(be_done 'Test response from mock' | "${DRHARNESS}" -F chat.json -n -m "Hi there" -d)
|
|
|
|
if [ "${OUTPUT}" != "Test response from mock" ]; then
|
|
echo "FAIL: smoke_basic - expected 'Test response from mock', got '${OUTPUT}'"
|
|
exit 1
|
|
fi
|