diff options
Diffstat (limited to 'exporters/darcs/t/testimport-darcs.sh')
-rw-r--r-- | exporters/darcs/t/testimport-darcs.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/exporters/darcs/t/testimport-darcs.sh b/exporters/darcs/t/testimport-darcs.sh new file mode 100644 index 0000000..b003dfd --- /dev/null +++ b/exporters/darcs/t/testimport-darcs.sh @@ -0,0 +1,17 @@ +. lib.sh + +create_darcs test2 --darcs-2 + +rm -rf test2.importdarcs test2.darcs +mkdir test2.importdarcs +cd test2.importdarcs +darcs init +cd .. + +darcs-fast-export test2 | (cd test2.importdarcs; darcs-fast-import) + +if [ $? != 0 ]; then + exit 1 +fi +diff_importdarcs test2 test2.importdarcs +exit $? |