diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-06-26 15:46:09 +0200 |
---|---|---|
committer | Klaus T. Aehlig <aehlig@linta.de> | 2024-06-27 12:05:35 +0200 |
commit | c6b35f8f2e83621b4e53ab999e5b5bf146a73aa0 (patch) | |
tree | 2c607815866fdb7887dc5486255d2a7729f23578 /test/rust/cargo/circle/test_circle_sampling.sh | |
parent | d5e14989a76f346789622fce27e3c63c217792cb (diff) | |
download | hello-nix-c6b35f8f2e83621b4e53ab999e5b5bf146a73aa0.tar.gz |
Add minimal example using cargo
... including a test (for which we add python3 as test dependency).
Diffstat (limited to 'test/rust/cargo/circle/test_circle_sampling.sh')
-rw-r--r-- | test/rust/cargo/circle/test_circle_sampling.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/rust/cargo/circle/test_circle_sampling.sh b/test/rust/cargo/circle/test_circle_sampling.sh new file mode 100644 index 0000000..c22109a --- /dev/null +++ b/test/rust/cargo/circle/test_circle_sampling.sh @@ -0,0 +1,8 @@ +set -e + +for _ in `seq 1 100` +do + ./bin/sample >> sampled +done + +python3 verify.py sampled |