diff options
Diffstat (limited to 'tests/od')
-rwxr-xr-x | tests/od/od-N | 4 | ||||
-rwxr-xr-x | tests/od/x8 | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/od/od-N b/tests/od/od-N index 7c5684525..0fbe3ead5 100755 --- a/tests/od/od-N +++ b/tests/od/od-N @@ -1,7 +1,7 @@ #!/bin/sh # Verify that `od -N N' reads no more than N bytes of input. -# Copyright (C) 2001, 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 2001, 2004, 2005, 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 @@ -25,7 +25,7 @@ fi pwd=`pwd` tmp=od-N.$$ -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 diff --git a/tests/od/x8 b/tests/od/x8 index 6b971994a..c92fcab71 100755 --- a/tests/od/x8 +++ b/tests/od/x8 @@ -2,7 +2,7 @@ # verify that od -t x8 works properly # This would fail before coreutils-4.5.2. -# Copyright (C) 2002, 2005 Free Software Foundation, Inc. +# Copyright (C) 2002, 2005, 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 @@ -31,7 +31,7 @@ od -t x8 /dev/null >/dev/null || { pwd=`pwd` t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$ -trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0 +trap 'status=$?; cd "$pwd" && chmod -R u+rwx $t0 && rm -rf $t0 && exit $status' 0 trap '(exit $?); exit $?' 1 2 13 15 framework_failure=0 |