chiark / gitweb /
dgit: import-dsc: Handle relative symlinks correctly
[dgit.git] / tests / tests / push-source-with-changes
index 2a123c337edbe219a932afc6654a6fa2d8815851..aed1b63cbb715d8e32ec09e7a529411419a6cff5 100755 (executable)
@@ -23,7 +23,14 @@ t-dgit -C ../${p}_1.0_multi.changes push-source --new
 t-expect-fail F:'tree contains uncommitted files' \
 t-dgit build-source
 
-t-dgit -wddn build-source
+cp debian/rules{,~}
+git clean -df
+ls debian/rules~
+
+t-expect-fail F:'tree contains uncommitted files' \
+t-dgit -wdda build-source
+
+t-dgit build-source
 t-dgit -C ../${p}_1.0_source.changes push-source --new
 
 t-pushed-good master