[LTP] [PATCH 1/3] ltp/tools: remove the scripts/numa_test.sh file

Li Wang
2015-08-18T08:37:03Z

Not only ltp/Makefile cancel the calling of the numa_test.sh, but
there are no any other testcases using it.

per: ef77253961f909f87e82e6d2b620e87af33e9665

ltp also has another copy of it: /testcases/kernel/numa/test.sh

Signed-off-by: Li Wang <liwang@redhat.com>
---
tools/scripts/numa_test.sh | 53 ----------------------------------------------
1 file changed, 53 deletions(-)
delete mode 100755 tools/scripts/numa_test.sh

diff --git a/tools/scripts/numa_test.sh b/tools/scripts/numa_test.sh
deleted file mode 100755
index 1b46149..0000000
--- a/tools/scripts/numa_test.sh
+++ /dev/null
@@ -1,53 +0,0 @@
-#############################################################################
-##
-## Copyright (c) International Business Machines Corp., 2007
-##
-## This program is free software; you can redistribute it and#or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; either version 2 of the License, or
-## (at your option) any later version.
-##
-## This program is distributed in the hope that it will be useful, but
-## WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-## for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-##
-#############################################################################
-#
-# Author Pradeep Kumar Surisetty, pradeepkumars@in.ibm.com
-#
-# History Nov 27 2007 -created- pradeep kumar surisetty
-#! /bin/sh
-#
-# File : numa_test.sh
-
-
-#!/bin/sh
-x=0
-chk_ifexist()
-{
-if [ ! -d /sys/devices/system/node ]
-then
-x=0
-else
-x=$(ls /sys/devices/system/node | wc -l)
-fi
-if [ $x -gt 1 ]
-then
- if [ ! -f /usr/include/numa.h ]
- then
- echo no;
- else
- echo yes;
- fi
-else
- echo no; #numa is not present
-
-fi
-}
-chk_ifexist
-