diff options
Diffstat (limited to 'tests/misc/head-pos')
-rwxr-xr-x | tests/misc/head-pos | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/head-pos b/tests/misc/head-pos index edb334311..9069febf3 100755 --- a/tests/misc/head-pos +++ b/tests/misc/head-pos @@ -2,7 +2,7 @@ # When reading a specified number of lines, ensure that the output # file pointer is positioned just after those lines. -# Copyright (C) 2002, 2004 Free Software Foundation, Inc. +# Copyright (C) 2002, 2004, 2006 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,7 +26,7 @@ fi pwd=`pwd` tmp=head-pos.$$ -trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0 +trap 'status=$?; cd "$pwd" && rm -rf $tmp && exit $status' 0 trap '(exit $?); exit' 1 2 13 15 framework_failure=0 |