chiark / gitweb /
test suite: gitattributes: Rename a sums file to the right name
[dgit.git] / tests / tests / gitattributes
index 5be7d01d29c22f7fc2d59bee56b23fad993f8e53..416206b21e4ff3bb08ebafbc2f212a74d4a2db26 100755 (executable)
@@ -28,7 +28,14 @@ badattr1 () {
 
 badattr () {
        attrname=$1; shift
-       badattr1 $attrname-set $attrname
+
+       case "$attrname" in
+       working-tree-encoding) ;;
+       *)
+               badattr1 $attrname-set $attrname
+               ;;
+       esac
+
        badattr1 $attrname-unset -$attrname
        badattr1 $attrname-unspec \!$attrname
        local val
@@ -241,7 +248,7 @@ t-dgit-warn-check 0 -cdgit.default.setup-gitattributes=false \
        clone $p sid $p.clone.broken
 cd $p.clone.broken
 
-sums=$p.clone.broken
+sums=sums.broken
 sums_check_broken
 
 cd ..