Skip to content

Commit 006e5da

Browse files
Fix: regression test from #3888 has version control change (#3892)
Resolves #3891 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses. --------- Co-authored-by: Michael Tautschnig <[email protected]>
1 parent ac8e0b9 commit 006e5da

File tree

6 files changed

+24
-39
lines changed

6 files changed

+24
-39
lines changed

tests/script-based-pre/cargo_playback_array/playback_target.sh

Lines changed: 0 additions & 27 deletions
This file was deleted.

tests/script-based-pre/cargo_playback_array/sample_crate/Cargo.toml

Lines changed: 0 additions & 10 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Copyright Kani Contributors
22
# SPDX-License-Identifier: Apache-2.0 OR MIT
3-
script: playback_target.sh
4-
expected: playback_target.expected
3+
script: playback_array.sh
4+
expected: playback_array.expected
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env bash
2+
# Copyright Kani Contributors
3+
# SPDX-License-Identifier: Apache-2.0 OR MIT
4+
5+
set -e
6+
set -o pipefail
7+
set -o nounset
8+
9+
cleanup()
10+
{
11+
rm ${RS_FILE}
12+
}
13+
trap cleanup EXIT
14+
15+
RS_FILE="modified.rs"
16+
cp array.rs ${RS_FILE}
17+
18+
echo "[TEST] Generate test..."
19+
kani ${RS_FILE} -Z concrete-playback --concrete-playback=inplace || true
20+
21+
echo "[TEST] Run test..."
22+
kani playback -Z concrete-playback ${RS_FILE} || true

0 commit comments

Comments
 (0)