t0051: test GIT_TRACE to a windows named pipe
[gitweb.git] / t / t3100-ls-tree-restrict.sh
index eb73c06a4e1ee826684ee84efa134ee5517023a6..18baf49a49c792952f3c8028cafc2d193d88cb5d 100755 (executable)
@@ -28,11 +28,11 @@ test_expect_success \
      echo Mi >path2/baz/b &&
      find path? \( -type f -o -type l \) -print |
      xargs git update-index --add &&
-     tree=`git write-tree` &&
+     tree=$(git write-tree) &&
      echo $tree'
 
 test_output () {
-    sed -e "s/ $_x40   / X     /" <current >check
+    sed -e "s/ $OID_REGEX      / X     /" <current >check
     test_cmp expected check
 }