asterinas/regression/apps/scripts/process.sh

17 lines
460 B
Bash
Raw Normal View History

2023-03-13 07:59:01 +00:00
#!/bin/sh
2024-01-03 03:22:36 +00:00
# SPDX-License-Identifier: MPL-2.0
2023-03-13 07:59:01 +00:00
set -e
2023-07-05 06:08:58 +00:00
SCRIPT_DIR=/regression
2023-03-22 03:52:24 +00:00
cd ${SCRIPT_DIR}/..
2023-11-02 09:37:21 +00:00
echo "Start process test......"
2023-12-04 07:32:38 +00:00
tests="hello_world/hello_world fork/fork execve/execve fork_c/fork signal_c/signal_test pthread/pthread_test hello_pie/hello pty/open_pty getpid/getpid eventfd2/eventfd2 mmap/map_shared_anon"
2023-03-13 07:59:01 +00:00
for testcase in ${tests}
do
echo "Running test ${testcase}......"
2023-07-05 06:08:58 +00:00
${SCRIPT_DIR}/${testcase}
2023-03-13 07:59:01 +00:00
done
2023-11-02 09:37:21 +00:00
echo "All process test passed."