File tree Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -2,5 +2,9 @@ TESTS = embed_extract_jpg.sh \
2
2
embed_extract_ppm.sh \
3
3
test_seek.sh
4
4
5
+ CLEANFILES = test-with-message.jpg \
6
+ test-with-message.pnm \
7
+ test-with-message.ppm
8
+
5
9
distclean-local :
6
10
rm -f out.jpg
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ echo -e "\nEmbedding a message..."
10
10
11
11
# Retrieve message
12
12
echo -e " \nExtracting a message..."
13
- ../src/outguess -k " secret-key-001" -r test-with-message.jpg text.txt
14
- cat text.txt | grep " inside of the image" || { echo ERROR; exit 1; }
13
+ ../src/outguess -k " secret-key-001" -r test-with-message.jpg text-jpg .txt
14
+ cat text-jpg .txt | grep " inside of the image" || { echo ERROR; exit 1; }
15
15
16
16
# Remove files
17
- rm -f test-with-message.jpg text.txt
17
+ rm -f test-with-message.jpg text-jpg .txt
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ echo -e "\nEmbedding a message..."
10
10
11
11
# Retrieve message
12
12
echo -e " \nExtracting a message..."
13
- ../src/outguess -k " secret-key-001" -r test-with-message.pnm text.txt
14
- cat text.txt | grep " inside of the image" || { echo ERROR; exit 1; }
13
+ ../src/outguess -k " secret-key-001" -r test-with-message.pnm text-pnm .txt
14
+ cat text-pnm .txt | grep " inside of the image" || { echo ERROR; exit 1; }
15
15
16
16
# Remove files
17
- rm -f test-with-message.pnm text.txt
17
+ rm -f test-with-message.pnm text-pnm .txt
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ echo -e "\nEmbedding a message..."
10
10
11
11
# Retrieve message
12
12
echo -e " \nExtracting a message..."
13
- ../src/outguess -k " secret-key-001" -r test-with-message.ppm text.txt
14
- cat text.txt | grep " inside of the image" || { echo ERROR; exit 1; }
13
+ ../src/outguess -k " secret-key-001" -r test-with-message.ppm text-ppm .txt
14
+ cat text-ppm .txt | grep " inside of the image" || { echo ERROR; exit 1; }
15
15
16
16
# Remove files
17
- rm -f test-with-message.ppm text.txt
17
+ rm -f test-with-message.ppm text-ppm .txt
You can’t perform that action at this time.
0 commit comments