llvm-mirror/test/Scripts/not
Chris Lattner 504ffdce51 New script for testrunner programs
llvm-svn: 6956
2003-06-28 22:52:52 +00:00

13 lines
179 B
Bash
Executable File

#!/bin/sh
#
# Program: not
#
# Synopsis: Inverse the output of the program specified on the command line
#
# Syntax: not command <arguments>
if "$@"
then exit 1
else exit 0
fi