# These tests deal with quoting.
#
name: error-1
description:
	Check that failure to find a command returns the proper
	exit status.
category: debian,posix
stdin:
	(ridiculouscommandname) 2>/dev/null || echo $?
expected-stdout:
	127
---
name: error-2
description:
	Check that failure to execute a command returns the proper
	exit status.
category: debian,posix
stdin:
	TEMPFILE=$(tempfile --prefix posix)
	chmod 0 $TEMPFILE
	($TEMPFILE) 2>/dev/null || echo $?
	rm -f $TEMPFILE
expected-stdout:
	126
---
