From f106c5a12724c684d747cf7f309f0ccc8b86cc61 Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Wed, 10 Jan 2018 09:42:05 +0800 Subject: remove useless bash code Change-Id: I530ef7fcdc4f9539517c5a2718e596f77de772a6 Signed-off-by: dongwenjuan --- tests/lib/inspectors/sample | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 tests/lib/inspectors/sample (limited to 'tests/lib/inspectors/sample') diff --git a/tests/lib/inspectors/sample b/tests/lib/inspectors/sample deleted file mode 100644 index 75d5c022..00000000 --- a/tests/lib/inspectors/sample +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -INSPECTOR_PORT=${INSPECTOR_PORT:-12345} - -function start_inspector_sample { - pgrep -f "python inspector.py" && return 0 - python inspector.py "$INSPECTOR_PORT" > inspector.log 2>&1 & -} - -function stop_inspector_sample { - pgrep -f "python inspector.py" || return 0 - kill $(pgrep -f "python inspector.py") -} - -function cleanup_inspector_sample { - # Noop - return -} -- cgit 1.2.3-korg