tests: use files that actually exist

Commit af79958f1a removed
a lot of files including /home/user/test7.txt used in some tests.

Replace /home/user/test7.txt with /README.
This commit is contained in:
Florian Fischer
2024-02-14 14:14:32 +01:00
parent afa3d4fb66
commit 65393843a5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ int main(int argc, char *argv[])
// ========================================================================
// Generating a key using ftok
key = ftok("/home/user/test7.txt", 5);
key = ftok("/README", 5);
if (key < 0) {
perror("Failed to generate key using ftok");
return 1;
+1 -1
View File
@@ -23,7 +23,7 @@ int main(int argc, char *argv[])
// ========================================================================
// Generating a key using ftok
key = ftok("/home/user/test7.txt", 5);
key = ftok("/README", 5);
if (key < 0) {
perror("Failed to generate key using ftok.");
return 1;