Commit 2b8713e1 authored by SeongJae Park's avatar SeongJae Park Committed by Shuah Khan

selftests/vm/run_vmtests: Polish output text

Few currently running test notification messages from run_vmtests output
have mismatched highlight lines.  This commit fixes them to fit in
length.
Signed-off-by: default avatarSeongJae Park <sj38.park@gmail.com>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 05844f83
...@@ -49,9 +49,9 @@ fi ...@@ -49,9 +49,9 @@ fi
mkdir $mnt mkdir $mnt
mount -t hugetlbfs none $mnt mount -t hugetlbfs none $mnt
echo "--------------------" echo "---------------------"
echo "running hugepage-mmap" echo "running hugepage-mmap"
echo "--------------------" echo "---------------------"
./hugepage-mmap ./hugepage-mmap
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "[FAIL]" echo "[FAIL]"
...@@ -77,9 +77,9 @@ fi ...@@ -77,9 +77,9 @@ fi
echo $shmmax > /proc/sys/kernel/shmmax echo $shmmax > /proc/sys/kernel/shmmax
echo $shmall > /proc/sys/kernel/shmall echo $shmall > /proc/sys/kernel/shmall
echo "--------------------" echo "-------------------"
echo "running map_hugetlb" echo "running map_hugetlb"
echo "--------------------" echo "-------------------"
./map_hugetlb ./map_hugetlb
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "[FAIL]" echo "[FAIL]"
...@@ -92,9 +92,9 @@ echo "NOTE: The above hugetlb tests provide minimal coverage. Use" ...@@ -92,9 +92,9 @@ echo "NOTE: The above hugetlb tests provide minimal coverage. Use"
echo " https://github.com/libhugetlbfs/libhugetlbfs.git for" echo " https://github.com/libhugetlbfs/libhugetlbfs.git for"
echo " hugetlb regression testing." echo " hugetlb regression testing."
echo "--------------------" echo "-------------------"
echo "running userfaultfd" echo "running userfaultfd"
echo "--------------------" echo "-------------------"
./userfaultfd 128 32 ./userfaultfd 128 32
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "[FAIL]" echo "[FAIL]"
...@@ -103,9 +103,9 @@ else ...@@ -103,9 +103,9 @@ else
echo "[PASS]" echo "[PASS]"
fi fi
echo "----------------------------" echo "---------------------------"
echo "running userfaultfd_hugetlb" echo "running userfaultfd_hugetlb"
echo "----------------------------" echo "---------------------------"
# 258MB total huge pages == 128MB src and 128MB dst # 258MB total huge pages == 128MB src and 128MB dst
./userfaultfd_hugetlb 128 32 $mnt/ufd_test_file ./userfaultfd_hugetlb 128 32 $mnt/ufd_test_file
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
...@@ -116,9 +116,9 @@ else ...@@ -116,9 +116,9 @@ else
fi fi
rm -f $mnt/ufd_test_file rm -f $mnt/ufd_test_file
echo "----------------------------" echo "-------------------------"
echo "running userfaultfd_shmem" echo "running userfaultfd_shmem"
echo "----------------------------" echo "-------------------------"
./userfaultfd_shmem 128 32 ./userfaultfd_shmem 128 32
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "[FAIL]" echo "[FAIL]"
...@@ -143,9 +143,9 @@ else ...@@ -143,9 +143,9 @@ else
echo "[PASS]" echo "[PASS]"
fi fi
echo "--------------------" echo "----------------------"
echo "running on-fault-limit" echo "running on-fault-limit"
echo "--------------------" echo "----------------------"
sudo -u nobody ./on-fault-limit sudo -u nobody ./on-fault-limit
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "[FAIL]" echo "[FAIL]"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment