This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".
The branch, master has been updated
via 0d725f8b366b69c389503bf006ba2de058025336 (commit)
from 683e8b2a7eceef34c48ac57bbf0007f6e0f91629 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=0d725f8b366b69c389503bf006ba2de058025336
commit 0d725f8b366b69c389503bf006ba2de058025336
Author: Mats Erik Andersson <[email protected]>
Date: Sun Dec 11 02:06:11 2011 +0100
tests/ftp-localhost.sh: Shell portability issue.
diff --git a/ChangeLog b/ChangeLog
index 0a2d888..dd036a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-12-11 Mats Erik Andersson <[email protected]>
+
+ * tests/ftp-localhost.sh: Replace `echo' with portable construct.
+
2011-12-10 Mats Erik Andersson <[email protected]>
* tests/ftp-localhost.sh: Expand trapping to kill inetd process.
diff --git a/tests/ftp-localhost.sh b/tests/ftp-localhost.sh
index 374d6b1..793a14d 100755
--- a/tests/ftp-localhost.sh
+++ b/tests/ftp-localhost.sh
@@ -65,8 +65,12 @@ $INETD --pidfile=$TMPDIR/inetd.pid $TMPDIR/inetd.conf
# Wait for inetd to write pid and open socket
sleep 2
-echo "rstatus\ndir\n" \
- | HOME=$TMPDIR $FTP $TARGET 4711 -v -p -t | tee $TMPDIR/ftp.stdout
+cat <<STOP |
+rstatus
+dir
+STOP
+HOME=$TMPDIR $FTP $TARGET 4711 -v -p -t | tee $TMPDIR/ftp.stdout
+
errno=$?
if [ $errno != 0 ]; then
echo running ftp failed? errno $errno
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
tests/ftp-localhost.sh | 8 ++++++--
2 files changed, 10 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU Inetutils
_______________________________________________
Commit-inetutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/commit-inetutils