diff options
author | Jim Meyering <jim@meyering.net> | 2007-09-13 08:44:26 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-09-15 08:40:39 +0200 |
commit | 53d36aaf9a856f523bd52de479a88f14338edda3 (patch) | |
tree | d43c74c6219ab7e0f8d294c131189034b15bea47 /tests/tail-2/proc-ksyms | |
parent | 10d190b8b6289f8a4b4818bd03b8f3a5dc87fd14 (diff) | |
download | coreutils-53d36aaf9a856f523bd52de479a88f14338edda3.tar.xz |
Adapt tests/tail-2/ to use test-lib.sh.
Diffstat (limited to 'tests/tail-2/proc-ksyms')
-rwxr-xr-x | tests/tail-2/proc-ksyms | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/tail-2/proc-ksyms b/tests/tail-2/proc-ksyms index 1e5855962..4a1a17662 100755 --- a/tests/tail-2/proc-ksyms +++ b/tests/tail-2/proc-ksyms @@ -1,7 +1,7 @@ #!/bin/sh # Prior to textutils-2.0.17, `tail /proc/ksyms' would segfault on Linux. -# Copyright (C) 2001, 2004, 2006 Free Software Foundation, Inc. +# Copyright (C) 2001, 2004, 2006-2007 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,10 +21,7 @@ if test "$VERBOSE" = yes; then tail --version fi -pwd=`pwd` -tmp=proc-ksyms.$$ -trap 'status=$?; cd "$pwd" && rm -rf $tmp && exit $status' 0 -trap '(exit $?); exit' 1 2 13 15 +. $srcdir/../test-lib.sh fail=0 |