test_done
fi
-cmd='
-import bzrlib
-bzrlib.initialize()
-import bzrlib.plugin
-bzrlib.plugin.load_plugins()
-import bzrlib.plugins.fastimport
-'
-
-if ! "$PYTHON_PATH" -c "$cmd"; then
- echo "consider setting BZR_PLUGIN_PATH=$HOME/.bazaar/plugins" 1>&2
- skip_all='skipping remote-bzr tests; bzr-fastimport not available'
- test_done
-fi
-
check () {
(cd $1 &&
git log --format='%s' -1 &&
(cd gitrepo &&
git cat-file -p HEAD:link > ../actual) &&
- echo -n content > expected &&
+ printf content > expected &&
test_cmp expected actual
'
echo test >> "áéíóú" &&
bzr add "áéíóú" &&
+ echo test >> "îø∫∆" &&
+ bzr add "îø∫∆" &&
+ bzr commit -m utf-8 &&
+ echo test >> "áéíóú" &&
+ bzr commit -m utf-8 &&
+ bzr rm "îø∫∆" &&
+ bzr mv "áéíóú" "åß∂" &&
bzr commit -m utf-8
) &&
git ls-files > ../actual
) &&
- echo "\"\\303\\241\\303\\251\\303\\255\\303\\263\\303\\272\"" > expected &&
+ echo "\"\\303\\245\\303\\237\\342\\210\\202\"" > expected &&
test_cmp expected actual
'