#!/bin/bash
set -Eeuo pipefail

# We test that --output truncates an existing file then appends it.

echo "Not a response" > build/output_existing.bin

hurl --output build/output_existing.bin tests_ok/output/output_existing.hurl tests_ok/output/output_existing.hurl
cat build/output_existing.bin
