maint: update all copyright year number ranges
[platform/upstream/coreutils.git] / tests / touch / no-dereference
index 6d13811..6f03142 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # Ensure that touch -h works.
 
-# Copyright (C) 2009-2011 Free Software Foundation, Inc.
+# Copyright (C) 2009-2012 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
@@ -19,9 +19,9 @@
 . "${srcdir=.}/init.sh"; path_prepend_ ../src
 print_ver_ touch
 
-ln -s nowhere dangling || framework_failure
-touch file || framework_failure
-ln -s file link || framework_failure
+ln -s nowhere dangling || framework_failure_
+touch file || framework_failure_
+ln -s file link || framework_failure_
 
 
 # These first tests should work on every platform.
@@ -41,7 +41,7 @@ test -f nowhere && fail=1
 # The remaining tests of -h require kernel support for changing symlink times.
 grep '^#define HAVE_UTIMENSAT 1' "$CONFIG_HEADER" > /dev/null ||
 grep '^#define HAVE_LUTIMES 1' "$CONFIG_HEADER" > /dev/null ||
-  skip_test_ 'this system lacks the utimensat function'
+  skip_ 'this system lacks the utimensat function'
 
 # Changing time of dangling symlink is okay.
 # Skip the test if this fails, but the error text corresponds to
@@ -51,7 +51,7 @@ case $? in
   0) test -f nowhere && fail=1
      test -s err && fail=1;;
   1) grep 'Function not implemented' err \
-       && skip_test_ 'this system lacks the utimensat function'
+       && skip_ 'this system lacks the utimensat function'
      fail=1;;
   *) fail=1;;
 esac