It uses a bogus pattern which was cleaned up already in others testscases,
and this is a leftover.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.g...@gmail.com>
---
 tests/shell/testcases/sets/cache_handling_0 |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/tests/shell/testcases/sets/cache_handling_0 
b/tests/shell/testcases/sets/cache_handling_0
index c79e013..9a73769 100755
--- a/tests/shell/testcases/sets/cache_handling_0
+++ b/tests/shell/testcases/sets/cache_handling_0
@@ -1,12 +1,6 @@
 #!/bin/bash
 
-MKTEMP=$(which mktemp)
-if [ -x $MKTEMP ] ; then
-       tmpfile=$(${MKTEMP})
-else
-       tmpfile=$(/tmp/${RANDOM})
-fi
-
+tmpfile=$(mktemp)
 if [ ! -w $tmpfile ] ; then
        echo "Failed to create tmp file" >&2
        exit 0

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to