projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ltp/fsx: allow comments when reading operations from logs
[xfstests-dev.git]
/
ltp
/
fsx.c
diff --git
a/ltp/fsx.c
b/ltp/fsx.c
index 863d536e5a7b368899c6b7e01f8844a1c1cf3c21..9c358f27bd925eddc3b85bf2a4cb4668b8ce75e2 100644
(file)
--- a/
ltp/fsx.c
+++ b/
ltp/fsx.c
@@
-1391,7
+1391,7
@@
read_op(struct log_entry *log_entry)
goto fail;
}
str = strtok(line, " \t\n");
- } while (!str);
+ } while (!str
|| str[0] == '#'
);
if (strcmp(str, "skip") == 0) {
log_entry->flags |= FL_SKIPPED;