[PATCH nft] tests: shell: Drop redefinition of DIFF variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit 7d93e2c2fbc7 ("tests: shell: autogenerate dump verification")
introduced the definition of DIFF at the top of run-tests.sh, to make
it visually part of the configuration section. Commit 68310ba0f9c2
("tests: shell: Search diff tool once and for all") override this
definition.

Drop the unexpected redefinition of DIFF.

Fixes: 68310ba0f9c2 ("tests: shell: Search diff tool once and for all")
Signed-off-by: Stefano Brivio <sbrivio@xxxxxxxxxx>
---
 tests/shell/run-tests.sh | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/shell/run-tests.sh b/tests/shell/run-tests.sh
index 94115066b1bf..fcc87a8957c8 100755
--- a/tests/shell/run-tests.sh
+++ b/tests/shell/run-tests.sh
@@ -45,7 +45,6 @@ if [ ! -x "$MODPROBE" ] ; then
 	msg_error "no modprobe binary found"
 fi
 
-DIFF="$(which diff)"
 if [ ! -x "$DIFF" ] ; then
 	DIFF=true
 fi
-- 
2.27.0




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux