Fossil SCM

Update stash.test to remove "known bug" flags due to fixes made while the test suite was turned off.

danshearer 2026-11-17 23:09 UTC test-suite-new
Commit 097ee074f36a0002422853f9d3c91fb86f9ef1b5b032538cefa049ef1dc0dc3f
1 file changed +4 -5
+4 -5
--- test/stash.test
+++ test/stash.test
@@ -237,14 +237,13 @@
237237
fossil add f1
238238
239239
stash-test 2-1 {save -m "f1b"} {
240240
REVERT f1
241241
DELETE f1n
242
-} -exists {f1} -notexists {f1n} -knownbugs {-code -result}
242
+} -exists {f1} -notexists {f1n}
243243
# 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.
246245
247246
248247
# Test stashing a newly added (but never committed) file. As with
249248
# fossil revert, fossil stash save unmanages the new file, but
250249
# leaves the copy present on disk. This is undocumented, but
@@ -354,11 +353,11 @@
354353
DELETED f1
355354
EDITED f2
356355
} -addremove {
357356
} -exists {f0 f2 f3} -notexists {f1}
358357
fossil stash diff
359
-test stash-4-2-diff-CODE {!$::CODE} knownBug
358
+test stash-4-2-diff-CODE {!$::CODE}
360359
fossil stash show
361360
test stash-4-2-show-1 {[regexp {DELETE f1} $RESULT]}
362361
test stash-4-2-show-2 {[regexp {CHANGED f2} $RESULT]}
363362
test stash-4-2-show-3 {[regexp {ADDED f0} $RESULT]}
364363
@@ -373,11 +372,11 @@
373372
EDITED f2
374373
RENAMED f3 -> f3n
375374
} -addremove {
376375
} -exists {f0 f2 f3n} -notexists {f1 f3}
377376
fossil stash diff
378
-test stash-4-3-diff-CODE {!$::CODE} knownBug
377
+test stash-4-3-diff-CODE {!$::CODE}
379378
fossil stash show -v
380379
test stash-4-3-show-1 {[regexp {DELETE f1} $RESULT]}
381380
test stash-4-3-show-2 {[regexp {CHANGED f2} $RESULT]}
382381
test stash-4-3-show-2 {[regexp {CHANGED f3n} $RESULT]}
383382
test stash-4-3-show-3 {[regexp {ADDED f0} $RESULT]}
384383
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button