#!/bin/sh set -e FILE=test RETURN=$(TERMINAL_EMULATOR=echo sensible-terminal "$FILE") test "$FILE" = "$RETURN"