From adacf48570d8ec5d2169379f2652d77920834c7c Mon Sep 17 00:00:00 2001 From: kwakubiney Date: Sun, 19 Jan 2025 18:51:49 +0000 Subject: [PATCH] add tests for quoted commands fix Signed-off-by: kwakubiney --- evaluation/tests/quoted_cmd.sh | 2 ++ evaluation/tests/test_evaluation_scripts.sh | 1 + 2 files changed, 3 insertions(+) create mode 100644 evaluation/tests/quoted_cmd.sh diff --git a/evaluation/tests/quoted_cmd.sh b/evaluation/tests/quoted_cmd.sh new file mode 100644 index 000000000..9dc2d029d --- /dev/null +++ b/evaluation/tests/quoted_cmd.sh @@ -0,0 +1,2 @@ +#!/bin/bash +"cat" "$0" | "tr" "A-Z" "a-z" \ No newline at end of file diff --git a/evaluation/tests/test_evaluation_scripts.sh b/evaluation/tests/test_evaluation_scripts.sh index 519365886..87acd196b 100755 --- a/evaluation/tests/test_evaluation_scripts.sh +++ b/evaluation/tests/test_evaluation_scripts.sh @@ -88,6 +88,7 @@ pipeline_microbenchmarks=( tr-test # Tests all possible behaviors of tr that exist in our evaluation grep-test # Tests some interesting grep invocations ann-agg # Tests custom aggregators in annotations + quoted_cmd # Tests whether PaSh can parallelize quoted commands # # # # micro_1000 # Not being run anymore, as it is very slow. Tests whether the compiler is fast enough. It is a huge pipeline without any computation. )