coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coreutils] [PATCH] maint: update sample test template


From: Eric Blake
Subject: [coreutils] [PATCH] maint: update sample test template
Date: Fri, 1 Oct 2010 09:39:57 -0600

* tests/sample-test: Recommend modern idiom.
---
 tests/sample-test |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/tests/sample-test b/tests/sample-test
index 85a61cf..85b779f 100644
--- a/tests/sample-test
+++ b/tests/sample-test
@@ -16,12 +16,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.

-if test "$VERBOSE" = yes; then
-  set -x
-  FIXME --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
 # FIXME: skip_if_root_
 # FIXME: require_root_

-- 
1.7.2.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]