summaryrefslogtreecommitdiffstats
path: root/web/server/h2o/libh2o/t/00unit/assets/read_command.pl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xweb/server/h2o/libh2o/t/00unit/assets/read_command.pl12
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 00000000..b24f1bc8
--- /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);