Browse Source

Append the output of the test clients to both `test.out` and `stdout`.

Daniel Alm 7 years ago
parent
commit
036ba34b22
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Examples/Echo/PackageManager/Makefile

+ 4 - 4
Examples/Echo/PackageManager/Makefile

@@ -5,10 +5,10 @@ all:
 
 test:	all
 	./Echo serve & /bin/echo $$! > echo.pid
-	./Echo get > test.out
-	./Echo expand >> test.out
-	./Echo collect >> test.out
-	./Echo update >> test.out
+	./Echo get | tee test.out
+	./Echo expand | tee -a test.out
+	./Echo collect | tee -a test.out
+	./Echo update | tee -a test.out
 	kill -9 `cat echo.pid`
 	diff test.out test.gold