Skip to contentSkip to conversation

dev-mornfall-nix - test: Suffix result outputs with .txt to avoid mime type confusion.

PATCH Petr Rockai 1 participant 1 message May 27, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=20928cc3c0794be14e2da5108f64292764de55d2
Commit:        20928cc3c0794be14e2da5108f64292764de55d2
Parent:        dd392346cccffa33d98df99fcaa2af0f1f2e6965
Author:        Petr Rockai <[email protected]>
AuthorDate:    Mon May 27 13:28:22 2013 +0200
Committer:     Petr Rockai <[email protected]>
CommitterDate: Mon May 27 13:28:22 2013 +0200

test: Suffix result outputs with .txt to avoid mime type confusion.

---
 test/lib/harness.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/harness.c +1 -1
index b98839f..df4177a 100644
@@ -313,7 +313,7 @@ static void run(int i, char *f) {
 		printf("Running %-50s ", buf);
 		fflush(stdout);
 		char outpath[512];
-		sprintf(outpath, "results/%s", f);
+		sprintf(outpath, "results/%s.txt", f);
 		while (strchr(outpath + 8, '/'))
 			*strchr(outpath + 8, '/') = '_';
 		if (outfile)