Procházet zdrojové kódy

fix filename for outputting logfiles of cryptoget test

Missingmew před 4 roky
rodič
revize
b3cce7e90d
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  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