tisdag 27 november 2007 skrev Johannes Sixt:
Robin Rosenberg schrieb:
quoted
+test_expect_success 'add files using absolute path names' '
+echo a >afile &&
+echo b >bfile &&
+git-add afile &&
+git-add $(pwd)/bfile &&
Please use "$(pwd)/bfile" (d-quotes) throughout. Otherwise the test would
fail if conducted in a directory with spaces.
AFAIK, None of the tests works in directories with spaces. But I'll fix it, just in case, so
noone can blame /me/ for the tests breaking in /my home/. I cannot verify it because
the testing infrastructure breaks before the actual tests start executing.
-- robin