diff options
Diffstat (limited to 'tests/shell/testcases/nft-f/0001define_slash_0')
-rwxr-xr-x | tests/shell/testcases/nft-f/0001define_slash_0 | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/shell/testcases/nft-f/0001define_slash_0 b/tests/shell/testcases/nft-f/0001define_slash_0 index 4ce7089c..bf0763d4 100755 --- a/tests/shell/testcases/nft-f/0001define_slash_0 +++ b/tests/shell/testcases/nft-f/0001define_slash_0 @@ -2,13 +2,7 @@ # tests for commit 85d6803 (parser_bison: initializer_expr must use rhs_expr) -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 |