diff options
Diffstat (limited to 'tests/common/sync_helpers.rs')
| -rw-r--r-- | tests/common/sync_helpers.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/common/sync_helpers.rs b/tests/common/sync_helpers.rs index af51e78..611b1a5 100644 --- a/tests/common/sync_helpers.rs +++ b/tests/common/sync_helpers.rs | |||
| @@ -1240,8 +1240,11 @@ pub async fn push_unique_git_data_to_relay( | |||
| 1240 | git(path, &["config", "commit.gpgsign", "false"]); | 1240 | git(path, &["config", "commit.gpgsign", "false"]); |
| 1241 | 1241 | ||
| 1242 | // Write a unique file so each maintainer gets a distinct commit hash | 1242 | // Write a unique file so each maintainer gets a distinct commit hash |
| 1243 | std::fs::write(path.join("state_test.txt"), "State test content for purgatory sync") | 1243 | std::fs::write( |
| 1244 | .expect("write state_test.txt"); | 1244 | path.join("state_test.txt"), |
| 1245 | "State test content for purgatory sync", | ||
| 1246 | ) | ||
| 1247 | .expect("write state_test.txt"); | ||
| 1245 | std::fs::write(path.join(".unique"), unique_seed).expect("write .unique"); | 1248 | std::fs::write(path.join(".unique"), unique_seed).expect("write .unique"); |
| 1246 | git(path, &["add", "."]); | 1249 | git(path, &["add", "."]); |
| 1247 | git(path, &["commit", "-m", "State test commit"]); | 1250 | git(path, &["commit", "-m", "State test commit"]); |