refs: use warning() instead of fprintf(stderr, "warning: ")
[gitweb.git] / t / t3600-rm.sh
index 74ea8e09f88e0f80dafe88bf9e9d4d404143a591..2aefbcf47137f9be5cff8786123ce1252656abc6 100755 (executable)
@@ -21,10 +21,11 @@ embedded'
 embedded' &&
      git commit -m 'add files with tabs and newlines'
      else
-         say 'Your filesystem does not allow tabs in filenames.'
          test_tabs=n
      fi"
 
+test "$test_tabs" = n && say 'Your filesystem does not allow tabs in filenames.'
+
 # Later we will try removing an unremovable path to make sure
 # git rm barfs, but if the test is run as root that cannot be
 # arranged.