Skip to content

Commit

Permalink
t TMP
Browse files Browse the repository at this point in the history
  • Loading branch information
anakryiko committed Nov 20, 2024
1 parent 712f59a commit 32738bf
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tests/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,27 @@ if [ -s "$TEST_BTSCRIPT" ]; then
cat "$TEST_BTOUT_RAW"
exit 1
else
sleep 1
sleep 0.2
break;
fi
echo "ITER"
done

echo "DONE 1"

# get test output while bpftrace is attached
$TEST_BIN &>"$TEST_OUT"
file $TEST_BIN
echo OUTPUT START
$TEST_BIN
echo OUTPUT END
timeout 10s $TEST_BIN 2>&1 | tee "$TEST_OUT"

echo "DONE 2"

echo "BTOUT RAW START"
cat "$TEST_BTOUT_RAW"
echo "BTOUT RAW END"

sudo kill -INT -$bt_pgid 2>/dev/null

echo "DONE 3"
Expand Down

0 comments on commit 32738bf

Please sign in to comment.