Remove unused code.
authorBruno Haible <bruno@clisp.org>
Mon, 2 Jun 2008 14:47:54 +0000 (16:47 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 2 Jun 2008 14:47:54 +0000 (16:47 +0200)
ChangeLog
tests/test-file-has-acl.sh

index 84346f7..b44d8a2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-06-02  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-file-has-acl.sh: Remove unused code.
+
 2008-06-01  Bruno Haible  <bruno@clisp.org>
 
        * lib/copy-acl.c (qcopy_acl): New function, extracted from copy_acl.
index bb5568c..7f1c376 100755 (executable)
@@ -106,18 +106,6 @@ cd "$builddir" ||
     fi
   fi
 
-  # func_test_has_acl file expected
-  # tests the result of the file_has_acl function on file, and checks that it
-  # matches the expected value.
-  func_test_has_acl ()
-  {
-    res=`"$builddir"/test-file-has-acl${EXEEXT} "$1"`
-    test "$res" = "$2" || {
-      echo "file_has_acl(\"$1\") returned $res, expected $2" 1>&2
-      exit 1
-    }
-  }
-
   # func_test_file_has_acl file expected
   # tests the result of the file_has_acl function on file, and checks that it
   # matches the expected value.