[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6040] test ! rather than ! test
From: |
karl |
Subject: |
[6040] test ! rather than ! test |
Date: |
Wed, 14 Jan 2015 19:42:55 +0000 |
Revision: 6040
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6040
Author: karl
Date: 2015-01-14 19:42:53 +0000 (Wed, 14 Jan 2015)
Log Message:
-----------
test ! rather than ! test
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/t/Cleanup.inc
trunk/info/t/adjust-anchors.sh
trunk/info/t/body-start.sh
trunk/info/t/end-of-line.sh
trunk/info/t/goto-quoted.sh
trunk/info/t/inc-sea-history.sh
trunk/info/t/index-long-nodeline.sh
trunk/info/t/index.sh
trunk/info/t/menu-sequence.sh
trunk/info/t/next-quoted.sh
trunk/info/t/quoted-label-and-target.sh
trunk/info/t/quoted-label-as-target.sh
trunk/info/t/quoted-target.sh
trunk/info/t/resize-in-completions.sh
trunk/info/t/search-after-tag.sh
trunk/info/t/split-file-menu.sh
trunk/info/t/split-index.sh
trunk/info/t/tab.sh
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/ChangeLog 2015-01-14 19:42:53 UTC (rev 6040)
@@ -3,7 +3,8 @@
* info/t/Cleanup.inc,
* info/t/Init-inter.inc,
* info/t/Init-test.inc,
- * info/t/Timeout-test.inc: portability (export, test -v, ...),
+ * info/t/Timeout-test.inc: portability (export =, test -v, ! test,
+ ...),
usability with separate builddir != srcdir,
usual style.
Modified: trunk/info/t/Cleanup.inc
===================================================================
--- trunk/info/t/Cleanup.inc 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/info/t/Cleanup.inc 2015-01-14 19:42:53 UTC (rev 6040)
@@ -20,8 +20,7 @@
rm -f $0.pipein $0.pipeout
test $PTY_PID -ne 0 && kill $PTY_PID
-if test -n "$TIMED_OUT"
-then
+if test -n "$TIMED_OUT"; then
return 1
fi
exit $RETVAL
Modified: trunk/info/t/adjust-anchors.sh
===================================================================
--- trunk/info/t/adjust-anchors.sh 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/info/t/adjust-anchors.sh 2015-01-14 19:42:53 UTC (rev 6040)
@@ -28,8 +28,7 @@
. $t/Timeout-test.inc
-if ! test -f $GINFO_OUTPUT
-then
+if test ! -f $GINFO_OUTPUT; then
RETVAL=1
else
# Return non-zero (test failure) if files differ
Modified: trunk/info/t/body-start.sh
===================================================================
--- trunk/info/t/body-start.sh 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/info/t/body-start.sh 2015-01-14 19:42:53 UTC (rev 6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -24,8 +24,7 @@
. $t/Timeout-test.inc
-if ! test -f $GINFO_OUTPUT
-then
+if test ! -f $GINFO_OUTPUT; then
RETVAL=1
else
# Return non-zero (test failure) if files differ
Modified: trunk/info/t/end-of-line.sh
===================================================================
--- trunk/info/t/end-of-line.sh 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/info/t/end-of-line.sh 2015-01-14 19:42:53 UTC (rev 6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -24,8 +24,7 @@
. $t/Timeout-test.inc
-if ! test -f $GINFO_OUTPUT
-then
+if test ! -f $GINFO_OUTPUT; then
RETVAL=1
else
# Return non-zero (test failure) if files differ
Modified: trunk/info/t/goto-quoted.sh
===================================================================
--- trunk/info/t/goto-quoted.sh 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/info/t/goto-quoted.sh 2015-01-14 19:42:53 UTC (rev 6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -24,8 +24,7 @@
. $t/Timeout-test.inc
-if ! test -f $GINFO_OUTPUT
-then
+if test ! -f $GINFO_OUTPUT; then
RETVAL=1
else
# Return non-zero (test failure) if files differ
Modified: trunk/info/t/inc-sea-history.sh
===================================================================
--- trunk/info/t/inc-sea-history.sh 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/info/t/inc-sea-history.sh 2015-01-14 19:42:53 UTC (rev 6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -31,8 +31,7 @@
printf 'lDq' >$PTY_TYPE
. $t/Timeout-test.inc
-if test $RETVAL = 0
-then
+if test $RETVAL = 0; then
grep 'Node: Top' $GINFO_OUTPUT
RETVAL=$?
fi
Modified: trunk/info/t/index-long-nodeline.sh
===================================================================
--- trunk/info/t/index-long-nodeline.sh 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/info/t/index-long-nodeline.sh 2015-01-14 19:42:53 UTC (rev 6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -24,8 +24,7 @@
printf 'gIndex\r\t\t\r\rDq' >$PTY_TYPE
. $t/Timeout-test.inc
-if ! test -f $GINFO_OUTPUT
-then
+if test ! -f $GINFO_OUTPUT; then
RETVAL=1
else
# Return non-zero (test failure) if files differ
Modified: trunk/info/t/index.sh
===================================================================
--- trunk/info/t/index.sh 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/info/t/index.sh 2015-01-14 19:42:53 UTC (rev 6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -24,8 +24,7 @@
. $t/Timeout-test.inc
-if ! test -f $GINFO_OUTPUT
-then
+if test ! -f $GINFO_OUTPUT; then
RETVAL=1
else
# Return non-zero (test failure) if files differ
Modified: trunk/info/t/menu-sequence.sh
===================================================================
--- trunk/info/t/menu-sequence.sh 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/info/t/menu-sequence.sh 2015-01-14 19:42:53 UTC (rev 6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -23,8 +23,7 @@
printf '\033xmenu-sequence\rfile-menu,first,no,nod\rDq' >$PTY_TYPE
. $t/Timeout-test.inc
-if ! test -f $GINFO_OUTPUT
-then
+if test ! -f $GINFO_OUTPUT; then
RETVAL=1
else
grep 'Arrived at Node 3.' $GINFO_OUTPUT
Modified: trunk/info/t/next-quoted.sh
===================================================================
--- trunk/info/t/next-quoted.sh 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/info/t/next-quoted.sh 2015-01-14 19:42:53 UTC (rev 6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -22,8 +22,7 @@
printf 'n\t\rDq' >$PTY_TYPE &
$GINFO -f quoting
-if ! test -f $GINFO_OUTPUT
-then
+if test ! -f $GINFO_OUTPUT; then
RETVAL=1
else
# Return non-zero (test failure) if files differ
Modified: trunk/info/t/quoted-label-and-target.sh
===================================================================
--- trunk/info/t/quoted-label-and-target.sh 2015-01-14 19:38:26 UTC (rev
6039)
+++ trunk/info/t/quoted-label-and-target.sh 2015-01-14 19:42:53 UTC (rev
6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -22,8 +22,7 @@
printf '\t\t\t\r\t\rDq' >$PTY_TYPE &
$GINFO -f quoting
-if ! test -f $GINFO_OUTPUT
-then
+if test ! -f $GINFO_OUTPUT; then
RETVAL=1
else
# Return non-zero (test failure) if files differ
Modified: trunk/info/t/quoted-label-as-target.sh
===================================================================
--- trunk/info/t/quoted-label-as-target.sh 2015-01-14 19:38:26 UTC (rev
6039)
+++ trunk/info/t/quoted-label-as-target.sh 2015-01-14 19:42:53 UTC (rev
6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -22,8 +22,7 @@
printf '\t\r\t\rDq' >$PTY_TYPE &
$GINFO -f quoting
-if ! test -f $GINFO_OUTPUT
-then
+if test ! -f $GINFO_OUTPUT; then
RETVAL=1
else
# Return non-zero (test failure) if files differ
Modified: trunk/info/t/quoted-target.sh
===================================================================
--- trunk/info/t/quoted-target.sh 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/info/t/quoted-target.sh 2015-01-14 19:42:53 UTC (rev 6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -22,8 +22,7 @@
printf '\t\t\r\t\r\Dq' >$PTY_TYPE &
$GINFO -f quoting --restore $t/quoted-target.drib
-if ! test -f $GINFO_OUTPUT
-then
+if test ! -f $GINFO_OUTPUT; then
RETVAL=1
else
# Return non-zero (test failure) if files differ
Modified: trunk/info/t/resize-in-completions.sh
===================================================================
--- trunk/info/t/resize-in-completions.sh 2015-01-14 19:38:26 UTC (rev
6039)
+++ trunk/info/t/resize-in-completions.sh 2015-01-14 19:42:53 UTC (rev
6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -21,8 +21,7 @@
# Indicate a window resize while showing a completions window
run_ginfo -f file-menu
-if test $GINFO_PID = unknown
-then
+if test $GINFO_PID = unknown; then
printf 'q' >$PTY_TYPE
RETVAL=77 # automake code for skipped test
else
Modified: trunk/info/t/search-after-tag.sh
===================================================================
--- trunk/info/t/search-after-tag.sh 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/info/t/search-after-tag.sh 2015-01-14 19:42:53 UTC (rev 6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -24,8 +24,7 @@
. $t/Timeout-test.inc
-if ! test -f $GINFO_OUTPUT
-then
+if test ! -f $GINFO_OUTPUT; then
RETVAL=1
else
# Return non-zero (test failure) if files differ
Modified: trunk/info/t/split-file-menu.sh
===================================================================
--- trunk/info/t/split-file-menu.sh 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/info/t/split-file-menu.sh 2015-01-14 19:42:53 UTC (rev 6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -26,8 +26,7 @@
printf tDq >$PTY_TYPE
. $t/Timeout-test.inc
-if ! test -f $GINFO_OUTPUT
-then
+if test ! -f $GINFO_OUTPUT; then
RETVAL=1
else
grep 'Node: Top' $GINFO_OUTPUT
Modified: trunk/info/t/split-index.sh
===================================================================
--- trunk/info/t/split-index.sh 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/info/t/split-index.sh 2015-01-14 19:42:53 UTC (rev 6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -24,8 +24,7 @@
printf 'ientry text\r\rDq' >$PTY_TYPE
. $t/Timeout-test.inc
-if ! test -f $GINFO_OUTPUT
-then
+if test ! -f $GINFO_OUTPUT; then
RETVAL=1
else
# Return non-zero (test failure) if files differ
Modified: trunk/info/t/tab.sh
===================================================================
--- trunk/info/t/tab.sh 2015-01-14 19:38:26 UTC (rev 6039)
+++ trunk/info/t/tab.sh 2015-01-14 19:42:53 UTC (rev 6040)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014, 2015 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
@@ -23,8 +23,7 @@
printf '\t\rDq' >$PTY_TYPE
. $t/Timeout-test.inc
-if ! test -f $GINFO_OUTPUT
-then
+if test ! -f $GINFO_OUTPUT; then
RETVAL=1
else
# Return non-zero (test failure) if files differ
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6040] test ! rather than ! test,
karl <=