Disable racy EpollTest.UnblockWithSignal

This commit is contained in:
Ruihan Li 2024-07-08 03:32:10 +08:00 committed by Tate, Hongliang Tian
parent 9cbbcf63a7
commit 378a253dab
2 changed files with 6 additions and 3 deletions

View File

@ -6,4 +6,7 @@ EpollTest.EdgeTriggered_NoRandomSave
EpollTest.OneshotAndEdgeTriggered EpollTest.OneshotAndEdgeTriggered
EpollTest.CycleOfOneDisallowed EpollTest.CycleOfOneDisallowed
EpollTest.CycleOfThreeDisallowed EpollTest.CycleOfThreeDisallowed
EpollTest.CloseFile EpollTest.CloseFile
# `UnblockWithSignal` contains races. Better not to enable it.
# See https://github.com/asterinas/asterinas/pull/1035 for details.
EpollTest.UnblockWithSignal

View File

@ -17,14 +17,14 @@ NC='\033[0m'
get_blocklist_subtests(){ get_blocklist_subtests(){
if [ -f $BLOCKLIST_DIR/$1 ]; then if [ -f $BLOCKLIST_DIR/$1 ]; then
BLOCK=$(sed ':a;N;$!ba;s/\n/:/g' $BLOCKLIST_DIR/$1) BLOCK=$(grep -v '^#' $BLOCKLIST_DIR/$1 | tr '\n' ':')
else else
BLOCK="" BLOCK=""
fi fi
for extra_dir in $EXTRA_BLOCKLISTS_DIRS ; do for extra_dir in $EXTRA_BLOCKLISTS_DIRS ; do
if [ -f $SCRIPT_DIR/$extra_dir/$1 ]; then if [ -f $SCRIPT_DIR/$extra_dir/$1 ]; then
BLOCK="${BLOCK}:$(sed ':a;N;$!ba;s/\n/:/g' $SCRIPT_DIR/$extra_dir/$1)" BLOCK="${BLOCK}:$(grep -v '^#' $SCRIPT_DIR/$extra_dir/$1 | tr '\n' ':')"
fi fi
done done