diff options
author | Bruno Haible <bruno@clisp.org> | 2007-02-24 08:22:08 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-02-24 08:22:08 +0100 |
commit | 2e140cfb4236141d18499abedac68d778dcd23e3 (patch) | |
tree | 1c2e9ef9dc5aa14abba8b415b653d3b9d4646e0f /tests/readlink/can-m | |
parent | 33176a7269eacf3ff60512f7ce3840dd7161ea73 (diff) | |
download | coreutils-2e140cfb4236141d18499abedac68d778dcd23e3.tar.xz |
* tests/readlink/can-e: Put the closing double-quote at the end of a
backquoted word, not in the middle. Works around a bug in sh on
OSF/1 4.0d.
* tests/readlink/can-f: Likewise.
* tests/readlink/can-m: Likewise.
Diffstat (limited to 'tests/readlink/can-m')
-rwxr-xr-x | tests/readlink/can-m | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/tests/readlink/can-m b/tests/readlink/can-m index bdd4033ea..1d67c65d4 100755 --- a/tests/readlink/can-m +++ b/tests/readlink/can-m @@ -1,7 +1,7 @@ #!/bin/sh # tests for canonicalize-missing mode (readlink -m). -# Copyright (C) 2004, 2006 Free Software Foundation, Inc. +# Copyright (C) 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 @@ -76,94 +76,94 @@ fi for p in "" "$pwd/$tmp/"; do fail=1 - v=`readlink -m "${p}"regfile` || break + v=`readlink -m "${p}regfile"` || break test "$v" = "$my_pwd/$tmp/regfile" || break - v=`readlink -m "${p}"./regfile/` || break + v=`readlink -m "${p}./regfile/"` || break test "$v" = "$my_pwd/$tmp/regfile" || break - v=`readlink -m "${p}"regfile/more` || break + v=`readlink -m "${p}regfile/more"` || break test "$v" = "$my_pwd/$tmp/regfile/more" || break - v=`readlink -m "${p}"./regfile/more/` || break + v=`readlink -m "${p}./regfile/more/"` || break test "$v" = "$my_pwd/$tmp/regfile/more" || break - v=`readlink -m "${p}"subdir` || break + v=`readlink -m "${p}subdir"` || break test "$v" = "$my_pwd/$tmp/subdir" || break - v=`readlink -m "${p}"./subdir/` || break + v=`readlink -m "${p}./subdir/"` || break test "$v" = "$my_pwd/$tmp/subdir" || break - v=`readlink -m "${p}"subdir/more` || break + v=`readlink -m "${p}subdir/more"` || break test "$v" = "$my_pwd/$tmp/subdir/more" || break - v=`readlink -m "${p}"./subdir/more/` || break + v=`readlink -m "${p}./subdir/more/"` || break test "$v" = "$my_pwd/$tmp/subdir/more" || break - v=`readlink -m "${p}"missing` || break + v=`readlink -m "${p}missing"` || break test "$v" = "$my_pwd/$tmp/missing" || break - v=`readlink -m "${p}"./missing/` || break + v=`readlink -m "${p}./missing/"` || break test "$v" = "$my_pwd/$tmp/missing" || break - v=`readlink -m "${p}"missing/more` || break + v=`readlink -m "${p}missing/more"` || break test "$v" = "$my_pwd/$tmp/missing/more" || break - v=`readlink -m "${p}"./missing/more/` || break + v=`readlink -m "${p}./missing/more/"` || break test "$v" = "$my_pwd/$tmp/missing/more" || break - v=`readlink -m "${p}"link1` || break + v=`readlink -m "${p}link1"` || break test "$v" = "$my_pwd/$tmp/regfile" || break - v=`readlink -m "${p}"./link1/` || break + v=`readlink -m "${p}./link1/"` || break test "$v" = "$my_pwd/$tmp/regfile" || break - v=`readlink -m "${p}"link1/more` || break + v=`readlink -m "${p}link1/more"` || break test "$v" = "$my_pwd/$tmp/regfile/more" || break - v=`readlink -m "${p}"./link1/more/` || break + v=`readlink -m "${p}./link1/more/"` || break test "$v" = "$my_pwd/$tmp/regfile/more" || break - v=`readlink -m "${p}"link2` || break + v=`readlink -m "${p}link2"` || break test "$v" = "$my_pwd/$tmp/subdir" || break - v=`readlink -m "${p}"./link2/` || break + v=`readlink -m "${p}./link2/"` || break test "$v" = "$my_pwd/$tmp/subdir" || break - v=`readlink -m "${p}"link2/more` || break + v=`readlink -m "${p}link2/more"` || break test "$v" = "$my_pwd/$tmp/subdir/more" || break - v=`readlink -m "${p}"./link2/more/` || break + v=`readlink -m "${p}./link2/more/"` || break test "$v" = "$my_pwd/$tmp/subdir/more" || break - v=`readlink -m "${p}"link2/more/more2` || break + v=`readlink -m "${p}link2/more/more2"` || break test "$v" = "$my_pwd/$tmp/subdir/more/more2" || break - v=`readlink -m "${p}"./link2/more/more2/` || break + v=`readlink -m "${p}./link2/more/more2/"` || break test "$v" = "$my_pwd/$tmp/subdir/more/more2" || break - v=`readlink -m "${p}"link3` || break + v=`readlink -m "${p}link3"` || break test "$v" = "$my_pwd/$tmp/missing" || break - v=`readlink -m "${p}"./link3/` || break + v=`readlink -m "${p}./link3/"` || break test "$v" = "$my_pwd/$tmp/missing" || break - v=`readlink -m "${p}"link3/more` || break + v=`readlink -m "${p}link3/more"` || break test "$v" = "$my_pwd/$tmp/missing/more" || break - v=`readlink -m "${p}"./link3/more/` || break + v=`readlink -m "${p}./link3/more/"` || break test "$v" = "$my_pwd/$tmp/missing/more" || break - v=`readlink -m "${p}"link4` || break + v=`readlink -m "${p}link4"` || break test "$v" = "$my_pwd/$tmp/subdir/missing" || break - v=`readlink -m "${p}"./link4/` || break + v=`readlink -m "${p}./link4/"` || break test "$v" = "$my_pwd/$tmp/subdir/missing" || break - v=`readlink -m "${p}"link4/more` || break + v=`readlink -m "${p}link4/more"` || break test "$v" = "$my_pwd/$tmp/subdir/missing/more" || break - v=`readlink -m "${p}"./link4/more/` || break + v=`readlink -m "${p}./link4/more/"` || break test "$v" = "$my_pwd/$tmp/subdir/missing/more" || break fail=0 |