[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=20928cc3c0794be14e2da5108f64292764de55d2
Commit:        20928cc3c0794be14e2da5108f64292764de55d2
Parent:        dd392346cccffa33d98df99fcaa2af0f1f2e6965
Author:        Petr Rockai <prockai redhat com>
AuthorDate:    Mon May 27 13:28:22 2013 +0200
Committer:     Petr Rockai <prockai redhat com>
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(-)

diff --git a/test/lib/harness.c b/test/lib/harness.c
index b98839f..df4177a 100644
--- a/test/lib/harness.c
+++ b/test/lib/harness.c
@@ -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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]