summaryrefslogtreecommitdiff
path: root/tests/c.at
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2002-04-19 19:07:49 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2002-04-19 19:07:49 +0000
commita4a5fae257b8eae9b0c68e780785031a6a444c51 (patch)
tree1562ea31fe49f5eb13d1385ddf50352cadcd9dad /tests/c.at
parentadef0cf29a73733dd538f0ad943512c28351fd1d (diff)
downloadautoconf-a4a5fae257b8eae9b0c68e780785031a6a444c51.tar.gz
We can't have zero arguments, so remove "$@" workarounds that are not
portable to Zsh.
Diffstat (limited to 'tests/c.at')
-rw-r--r--tests/c.at6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/c.at b/tests/c.at
index e935de85..a2df6a2c 100644
--- a/tests/c.at
+++ b/tests/c.at
@@ -2,7 +2,7 @@
AT_BANNER([C low level compiling/preprocessing macros.])
-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -113,7 +113,7 @@ AT_SETUP([AC_PROG_CPP with warnings])
AT_DATA([mycpp],
[[#! /bin/sh
echo noise >&2
-exec ${1+"$@"}
+exec "$@"
]])
chmod +x mycpp
@@ -146,7 +146,7 @@ AT_CHECK([/lib/cpp </dev/null || exit 77], [], [ignore], [ignore])
# A cpp which exit status is meaningless.
AT_DATA([mycpp],
[[#! /bin/sh
-/lib/cpp ${1+"$@"}
+/lib/cpp "$@"
exit 0
]])