]> arthur.barton.de Git - bup.git/commitdiff
fixed cp problem in bup/t/test-meta.sh
authorShane Geiger <shane.geiger@gmail.com>
Mon, 9 May 2011 01:30:55 +0000 (21:30 -0400)
committerShane Geiger <shane.geiger@gmail.com>
Mon, 9 May 2011 01:30:55 +0000 (21:30 -0400)
t/test-meta.sh

index 9e85cfc6c4f22050baa5ff874fffa70845b1233c..8d565b63511b841bd034fda042ffb9b8ec4e4c52 100755 (executable)
@@ -80,7 +80,8 @@ force-delete "$TOP/bupmeta.tmp"
 (
     rm -rf "$TOP/bupmeta.tmp/src"
     mkdir -p "$TOP/bupmeta.tmp/src"
-    cp -a Documentation cmd lib t "$TOP/bupmeta.tmp"/src
+    #cp -a Documentation cmd lib t "$TOP/bupmeta.tmp"/src
+    cp -pPR Documentation cmd lib t "$TOP/bupmeta.tmp"/src
 ) || WVFAIL
 
 # Use the test tree to check bup meta.
@@ -112,7 +113,8 @@ if actually-root; then
         chown root:root testfs
         chmod 0700 testfs
 
-        cp -a src testfs/src
+        #cp -a src testfs/src
+        cp -pPR src testfs/src
         (cd testfs && test-src-create-extract)
 
         WVSTART 'meta - atime (as root)'