소스 검색

fix filename for outputting logfiles of cryptoget test

Missingmew 5 년 전
부모
커밋
b3cce7e90d
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      cli/test/cryptoget.sh

+ 3 - 3
cli/test/cryptoget.sh

@@ -18,7 +18,7 @@ test/cryptotest_gcm 1 test/samplekey1.bin test/samplefile.txt $DAEMONFILEPATH/sa
 
 ./ccats-cli --batch test/cryptoget.txt
 
-if [ ! -f test/cryptoput.txt.out ];
+if [ ! -f test/cryptoget.txt.out ];
 then
 	echo "running of batch file failed"
 	exit 1;
@@ -28,9 +28,9 @@ if [ ! -f samplefile.txt ];
 then
 	echo "file didnt download"
 	echo "STDOUT is :"
-	cat test/cryptoput.txt.out
+	cat test/cryptoget.txt.out
 	echo "STDERR is :"
-	cat test/cryptoput.txt.err
+	cat test/cryptoget.txt.err
 	exit 1;
 fi