@@ -15,19 +15,19 @@ fi
check_count () {
head= &&
file='file' &&
- options= &&
+ args= &&
while :
do
case "$1" in
-h) head="$2"; shift; shift ;;
-f) file="$2"; shift; shift ;;
- -L*) options="$options $(sanitize_L "$1")"; shift ;;
- -*) options="$options $1"; shift ;;
+ -L*) args="$args $(sanitize_L "$1")"; shift ;;
+ -*) args="$args $1"; shift ;;
*) break ;;
esac
done &&
- echo "$PROG $options $file $head" >&4 &&
- $PROG $options $file $head >actual &&
+ echo "$PROG $args $file $head" >&4 &&
+ $PROG $args $file $head >actual &&
perl -e '
my %expect = (@ARGV);
my %count = map { $_ => 0 } keys %expect;
@@ -30,10 +30,10 @@ last_context_line () {
check_diff () {
name=$1
desc=$2
- options="-W $3"
+ args="-W $3"
test_expect_success "$desc" '
- git diff $options "$name^" "$name" >"$name.diff"
+ git diff $args "$name^" "$name" >"$name.diff"
'
test_expect_success ' diff applies' '
@@ -3222,7 +3222,7 @@ test_expect_success 'U: validate root delete result' '
# fast-import process is still running using background_import_still_running
# *after* evaluating the test conditions.
background_import_then_checkpoint () {
- options=$1
+ args=$1
input_file=$2
mkfifo V.input
@@ -3234,7 +3234,7 @@ background_import_then_checkpoint () {
rm V.output
(
- git fast-import $options <&8 >&9 &
+ git fast-import $args <&8 >&9 &
echo $! >&9
wait $!
echo >&2 "background fast-import terminated too early with exit code $?"
It has a special meaning in zsh. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> --- t/annotate-tests.sh | 10 +++++----- t/t4051-diff-function-context.sh | 4 ++-- t/t9300-fast-import.sh | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-)