]> git.droids-corp.org - protos/libecoli.git/blobdiff - lib/test.sh
add get_child_refs, tests are ok
[protos/libecoli.git] / lib / test.sh
index b71086ea439ac650686de2924454602042eb24fe..83a7538e08445cc977893cda5ae53add7a35e26e 100755 (executable)
@@ -1,10 +1,12 @@
 #!/bin/sh
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright 2016, Olivier MATZ <zer0@droids-corp.org>
 
 set -e
 
 SEED=100
 while [ ${SEED} -gt 0 ]; do
-       CMD="./build/test --random-alloc-fail=10 --seed=${SEED}"
+       CMD="./build/test --random-alloc-fail=1 --seed=${SEED} $*"
        ${CMD} --log-level=0 || (
                echo "=== test failed, replay seed=${SEED} with logs ===" &&
                ${CMD} --log-level=6 ||