From e4608d5ac876ad1ae5fa3d1a0660f1ff9ad2840e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 14 Aug 2015 11:12:38 +0200 Subject: Fix test Makefile on some platforms --- test/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/Makefile b/test/Makefile index f2beb86..2fb7472 100644 --- a/test/Makefile +++ b/test/Makefile @@ -54,7 +54,7 @@ app: app1 $i "app: Testing the 'app' target." $t $(MAKE) -C app1 app $v $i "Checking the modules line in the generated .app file." - $t [ `grep -E "{modules, *\['m'\]}" app1/ebin/app1.app | wc -l` == 1 ] + $t [ `grep -E "{modules, *\['m'\]}" app1/ebin/app1.app | wc -l` -eq 1 ] $t [ -e app1/ebin/m.beam ] $i "Checking that '$(MAKE) clean-app' deletes ebin." $t $(MAKE) -C app1 clean-app $v @@ -200,7 +200,7 @@ docs: app1 $t [ -e app1/doc/m.md ] $i "Checking that '$(MAKE) distclean' deletes all generated doc files." $t $(MAKE) -C app1 -f Makefile-doc distclean $v - $t [ "`ls app1/doc/`" == "" ] + $t [ "`ls app1/doc/`" = "" ] $i "Cleaning up test data." $t rm app1/Makefile-doc $i "Test 'docs' passed." -- cgit v1.2.3