diff options
Diffstat (limited to 'web/server/h2o/libh2o/t/00unit/assets/read_command.pl')
-rwxr-xr-x | web/server/h2o/libh2o/t/00unit/assets/read_command.pl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/web/server/h2o/libh2o/t/00unit/assets/read_command.pl b/web/server/h2o/libh2o/t/00unit/assets/read_command.pl new file mode 100755 index 000000000..b24f1bc87 --- /dev/null +++ b/web/server/h2o/libh2o/t/00unit/assets/read_command.pl @@ -0,0 +1,12 @@ +#! /bin/sh +exec perl -x $0 "$@" +#! perl + +use strict; +use warnings; + +die "expected one arg" + unless @ARGV == 1; + +print $ARGV[0]; +exit($ENV{READ_COMMAND_EXIT_STATUS} || 0); |