summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSeongJae Park <sj38.park@gmail.com>2017-04-13 12:58:49 -0400
committerShuah Khan <shuahkh@osg.samsung.com>2017-04-13 18:08:38 -0400
commit2b8713e14be5712956e10121000c5417c225ddfd (patch)
treeb0e8d78c9bf780ab482881500611d0570b027a4a /tools
parent05844f83132250d47514721b6801791972745082 (diff)
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: SeongJae Park <sj38.park@gmail.com> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/vm/run_vmtests24
1 files changed, 12 insertions, 12 deletions
diff --git a/tools/testing/selftests/vm/run_vmtests b/tools/testing/selftests/vm/run_vmtests
index c92f6cf31d0a..0091bde3f25f 100755
--- a/tools/testing/selftests/vm/run_vmtests
+++ b/tools/testing/selftests/vm/run_vmtests
@@ -49,9 +49,9 @@ fi
49mkdir $mnt 49mkdir $mnt
50mount -t hugetlbfs none $mnt 50mount -t hugetlbfs none $mnt
51 51
52echo "--------------------" 52echo "---------------------"
53echo "running hugepage-mmap" 53echo "running hugepage-mmap"
54echo "--------------------" 54echo "---------------------"
55./hugepage-mmap 55./hugepage-mmap
56if [ $? -ne 0 ]; then 56if [ $? -ne 0 ]; then
57 echo "[FAIL]" 57 echo "[FAIL]"
@@ -77,9 +77,9 @@ fi
77echo $shmmax > /proc/sys/kernel/shmmax 77echo $shmmax > /proc/sys/kernel/shmmax
78echo $shmall > /proc/sys/kernel/shmall 78echo $shmall > /proc/sys/kernel/shmall
79 79
80echo "--------------------" 80echo "-------------------"
81echo "running map_hugetlb" 81echo "running map_hugetlb"
82echo "--------------------" 82echo "-------------------"
83./map_hugetlb 83./map_hugetlb
84if [ $? -ne 0 ]; then 84if [ $? -ne 0 ]; then
85 echo "[FAIL]" 85 echo "[FAIL]"
@@ -92,9 +92,9 @@ echo "NOTE: The above hugetlb tests provide minimal coverage. Use"
92echo " https://github.com/libhugetlbfs/libhugetlbfs.git for" 92echo " https://github.com/libhugetlbfs/libhugetlbfs.git for"
93echo " hugetlb regression testing." 93echo " hugetlb regression testing."
94 94
95echo "--------------------" 95echo "-------------------"
96echo "running userfaultfd" 96echo "running userfaultfd"
97echo "--------------------" 97echo "-------------------"
98./userfaultfd 128 32 98./userfaultfd 128 32
99if [ $? -ne 0 ]; then 99if [ $? -ne 0 ]; then
100 echo "[FAIL]" 100 echo "[FAIL]"
@@ -103,9 +103,9 @@ else
103 echo "[PASS]" 103 echo "[PASS]"
104fi 104fi
105 105
106echo "----------------------------" 106echo "---------------------------"
107echo "running userfaultfd_hugetlb" 107echo "running userfaultfd_hugetlb"
108echo "----------------------------" 108echo "---------------------------"
109# 258MB total huge pages == 128MB src and 128MB dst 109# 258MB total huge pages == 128MB src and 128MB dst
110./userfaultfd_hugetlb 128 32 $mnt/ufd_test_file 110./userfaultfd_hugetlb 128 32 $mnt/ufd_test_file
111if [ $? -ne 0 ]; then 111if [ $? -ne 0 ]; then
@@ -116,9 +116,9 @@ else
116fi 116fi
117rm -f $mnt/ufd_test_file 117rm -f $mnt/ufd_test_file
118 118
119echo "----------------------------" 119echo "-------------------------"
120echo "running userfaultfd_shmem" 120echo "running userfaultfd_shmem"
121echo "----------------------------" 121echo "-------------------------"
122./userfaultfd_shmem 128 32 122./userfaultfd_shmem 128 32
123if [ $? -ne 0 ]; then 123if [ $? -ne 0 ]; then
124 echo "[FAIL]" 124 echo "[FAIL]"
@@ -143,9 +143,9 @@ else
143 echo "[PASS]" 143 echo "[PASS]"
144fi 144fi
145 145
146echo "--------------------" 146echo "----------------------"
147echo "running on-fault-limit" 147echo "running on-fault-limit"
148echo "--------------------" 148echo "----------------------"
149sudo -u nobody ./on-fault-limit 149sudo -u nobody ./on-fault-limit
150if [ $? -ne 0 ]; then 150if [ $? -ne 0 ]; then
151 echo "[FAIL]" 151 echo "[FAIL]"