Fossil SCM
Update stash.test to remove "known bug" flags due to fixes made while the test suite was turned off.
Commit
097ee074f36a0002422853f9d3c91fb86f9ef1b5b032538cefa049ef1dc0dc3f
Parent
3cb48d20d840011…
1 file changed
+4
-5
+4
-5
| --- test/stash.test | ||
| +++ test/stash.test | ||
| @@ -237,14 +237,13 @@ | ||
| 237 | 237 | fossil add f1 |
| 238 | 238 | |
| 239 | 239 | stash-test 2-1 {save -m "f1b"} { |
| 240 | 240 | REVERT f1 |
| 241 | 241 | DELETE f1n |
| 242 | -} -exists {f1} -notexists {f1n} -knownbugs {-code -result} | |
| 242 | +} -exists {f1} -notexists {f1n} | |
| 243 | 243 | # TODO: add tests that verify the saved stash is sensible. Possibly |
| 244 | -# by applying it and checking results. But until the MISSING file | |
| 245 | -# error is fixed, there is nothing stashed to test. | |
| 244 | +# by applying it and checking results. | |
| 246 | 245 | |
| 247 | 246 | |
| 248 | 247 | # Test stashing a newly added (but never committed) file. As with |
| 249 | 248 | # fossil revert, fossil stash save unmanages the new file, but |
| 250 | 249 | # leaves the copy present on disk. This is undocumented, but |
| @@ -354,11 +353,11 @@ | ||
| 354 | 353 | DELETED f1 |
| 355 | 354 | EDITED f2 |
| 356 | 355 | } -addremove { |
| 357 | 356 | } -exists {f0 f2 f3} -notexists {f1} |
| 358 | 357 | fossil stash diff |
| 359 | -test stash-4-2-diff-CODE {!$::CODE} knownBug | |
| 358 | +test stash-4-2-diff-CODE {!$::CODE} | |
| 360 | 359 | fossil stash show |
| 361 | 360 | test stash-4-2-show-1 {[regexp {DELETE f1} $RESULT]} |
| 362 | 361 | test stash-4-2-show-2 {[regexp {CHANGED f2} $RESULT]} |
| 363 | 362 | test stash-4-2-show-3 {[regexp {ADDED f0} $RESULT]} |
| 364 | 363 | |
| @@ -373,11 +372,11 @@ | ||
| 373 | 372 | EDITED f2 |
| 374 | 373 | RENAMED f3 -> f3n |
| 375 | 374 | } -addremove { |
| 376 | 375 | } -exists {f0 f2 f3n} -notexists {f1 f3} |
| 377 | 376 | fossil stash diff |
| 378 | -test stash-4-3-diff-CODE {!$::CODE} knownBug | |
| 377 | +test stash-4-3-diff-CODE {!$::CODE} | |
| 379 | 378 | fossil stash show -v |
| 380 | 379 | test stash-4-3-show-1 {[regexp {DELETE f1} $RESULT]} |
| 381 | 380 | test stash-4-3-show-2 {[regexp {CHANGED f2} $RESULT]} |
| 382 | 381 | test stash-4-3-show-2 {[regexp {CHANGED f3n} $RESULT]} |
| 383 | 382 | test stash-4-3-show-3 {[regexp {ADDED f0} $RESULT]} |
| 384 | 383 |
| --- test/stash.test | |
| +++ test/stash.test | |
| @@ -237,14 +237,13 @@ | |
| 237 | fossil add f1 |
| 238 | |
| 239 | stash-test 2-1 {save -m "f1b"} { |
| 240 | REVERT f1 |
| 241 | DELETE f1n |
| 242 | } -exists {f1} -notexists {f1n} -knownbugs {-code -result} |
| 243 | # TODO: add tests that verify the saved stash is sensible. Possibly |
| 244 | # by applying it and checking results. But until the MISSING file |
| 245 | # error is fixed, there is nothing stashed to test. |
| 246 | |
| 247 | |
| 248 | # Test stashing a newly added (but never committed) file. As with |
| 249 | # fossil revert, fossil stash save unmanages the new file, but |
| 250 | # leaves the copy present on disk. This is undocumented, but |
| @@ -354,11 +353,11 @@ | |
| 354 | DELETED f1 |
| 355 | EDITED f2 |
| 356 | } -addremove { |
| 357 | } -exists {f0 f2 f3} -notexists {f1} |
| 358 | fossil stash diff |
| 359 | test stash-4-2-diff-CODE {!$::CODE} knownBug |
| 360 | fossil stash show |
| 361 | test stash-4-2-show-1 {[regexp {DELETE f1} $RESULT]} |
| 362 | test stash-4-2-show-2 {[regexp {CHANGED f2} $RESULT]} |
| 363 | test stash-4-2-show-3 {[regexp {ADDED f0} $RESULT]} |
| 364 | |
| @@ -373,11 +372,11 @@ | |
| 373 | EDITED f2 |
| 374 | RENAMED f3 -> f3n |
| 375 | } -addremove { |
| 376 | } -exists {f0 f2 f3n} -notexists {f1 f3} |
| 377 | fossil stash diff |
| 378 | test stash-4-3-diff-CODE {!$::CODE} knownBug |
| 379 | fossil stash show -v |
| 380 | test stash-4-3-show-1 {[regexp {DELETE f1} $RESULT]} |
| 381 | test stash-4-3-show-2 {[regexp {CHANGED f2} $RESULT]} |
| 382 | test stash-4-3-show-2 {[regexp {CHANGED f3n} $RESULT]} |
| 383 | test stash-4-3-show-3 {[regexp {ADDED f0} $RESULT]} |
| 384 |
| --- test/stash.test | |
| +++ test/stash.test | |
| @@ -237,14 +237,13 @@ | |
| 237 | fossil add f1 |
| 238 | |
| 239 | stash-test 2-1 {save -m "f1b"} { |
| 240 | REVERT f1 |
| 241 | DELETE f1n |
| 242 | } -exists {f1} -notexists {f1n} |
| 243 | # TODO: add tests that verify the saved stash is sensible. Possibly |
| 244 | # by applying it and checking results. |
| 245 | |
| 246 | |
| 247 | # Test stashing a newly added (but never committed) file. As with |
| 248 | # fossil revert, fossil stash save unmanages the new file, but |
| 249 | # leaves the copy present on disk. This is undocumented, but |
| @@ -354,11 +353,11 @@ | |
| 353 | DELETED f1 |
| 354 | EDITED f2 |
| 355 | } -addremove { |
| 356 | } -exists {f0 f2 f3} -notexists {f1} |
| 357 | fossil stash diff |
| 358 | test stash-4-2-diff-CODE {!$::CODE} |
| 359 | fossil stash show |
| 360 | test stash-4-2-show-1 {[regexp {DELETE f1} $RESULT]} |
| 361 | test stash-4-2-show-2 {[regexp {CHANGED f2} $RESULT]} |
| 362 | test stash-4-2-show-3 {[regexp {ADDED f0} $RESULT]} |
| 363 | |
| @@ -373,11 +372,11 @@ | |
| 372 | EDITED f2 |
| 373 | RENAMED f3 -> f3n |
| 374 | } -addremove { |
| 375 | } -exists {f0 f2 f3n} -notexists {f1 f3} |
| 376 | fossil stash diff |
| 377 | test stash-4-3-diff-CODE {!$::CODE} |
| 378 | fossil stash show -v |
| 379 | test stash-4-3-show-1 {[regexp {DELETE f1} $RESULT]} |
| 380 | test stash-4-3-show-2 {[regexp {CHANGED f2} $RESULT]} |
| 381 | test stash-4-3-show-2 {[regexp {CHANGED f3n} $RESULT]} |
| 382 | test stash-4-3-show-3 {[regexp {ADDED f0} $RESULT]} |
| 383 |