Skip to content

Commit

Permalink
Fix: regression test from #3888 has version control change (#3892)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
carolynzech and tautschnig authored Feb 19, 2025
1 parent ac8e0b9 commit 006e5da
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 39 deletions.
27 changes: 0 additions & 27 deletions tests/script-based-pre/cargo_playback_array/playback_target.sh

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright Kani Contributors
# SPDX-License-Identifier: Apache-2.0 OR MIT
script: playback_target.sh
expected: playback_target.expected
script: playback_array.sh
expected: playback_array.expected
22 changes: 22 additions & 0 deletions tests/script-based-pre/playback_array/playback_array.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
# Copyright Kani Contributors
# SPDX-License-Identifier: Apache-2.0 OR MIT

set -e
set -o pipefail
set -o nounset

cleanup()
{
rm ${RS_FILE}
}
trap cleanup EXIT

RS_FILE="modified.rs"
cp array.rs ${RS_FILE}

echo "[TEST] Generate test..."
kani ${RS_FILE} -Z concrete-playback --concrete-playback=inplace || true

echo "[TEST] Run test..."
kani playback -Z concrete-playback ${RS_FILE} || true

0 comments on commit 006e5da

Please sign in to comment.