Commit 22bb62d
committed
test(package): add test showing target dir not excluded from backups
Add a failing test that demonstrates the current buggy behavior where
`cargo package` does not create a CACHEDIR.TAG file in the target
directory. This causes backup tools to unnecessarily include temporary
packaging artifacts.
The test currently passes by asserting that CACHEDIR.TAG does NOT
exist (the buggy behavior). The next commit will implement the fix
and update this test to verify correct behavior.
Relates to #162381 parent 19678fc commit 22bb62d
1 file changed
+28
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7804 | 7804 | | |
7805 | 7805 | | |
7806 | 7806 | | |
| 7807 | + | |
| 7808 | + | |
| 7809 | + | |
| 7810 | + | |
| 7811 | + | |
| 7812 | + | |
| 7813 | + | |
| 7814 | + | |
| 7815 | + | |
| 7816 | + | |
| 7817 | + | |
| 7818 | + | |
| 7819 | + | |
| 7820 | + | |
| 7821 | + | |
| 7822 | + | |
| 7823 | + | |
| 7824 | + | |
| 7825 | + | |
| 7826 | + | |
| 7827 | + | |
| 7828 | + | |
| 7829 | + | |
| 7830 | + | |
| 7831 | + | |
| 7832 | + | |
| 7833 | + | |
| 7834 | + | |
0 commit comments