Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
harshad.sawant
GWF_file_checker
Commits
ea043682
Commit
ea043682
authored
7 months ago
by
SAWANT Harshad
Browse files
Options
Download
Email Patches
Plain Diff
new testing
parent
dcd57135
main
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
check.sh
+2
-2
check.sh
error.log
+25
-0
error.log
output.json
+63
-0
output.json
settings.json
+2
-2
settings.json
with
92 additions
and
4 deletions
+92
-4
check.sh
View file @
ea043682
...
...
@@ -45,7 +45,7 @@ check_and_copy_files() {
if
[[
-f
$file
]]
;
then
for
((
i
=
0
;
i < RUNS_PER_FILE
;
i++
))
;
do
echo
"checking file:
$file
"
cmd
=
"FrCheck
-d 1
-i
$file
"
cmd
=
"FrCheck -i
$file
"
if
[[
$VERBOSE
==
"true"
]]
;
then
echo
"Running:
$cmd
"
fi
...
...
@@ -57,7 +57,7 @@ check_and_copy_files() {
checksum_status
=
$(
echo
"
$output
"
|
grep
-q
"No read error. File Checksum OK"
&&
echo true
||
echo false
)
if
[[
$checksum_status
==
"true"
]]
;
then
echo
"
$file
: Checksum OK"
echo
"
$file
: Checksum
& Structure Checksums
OK"
# Copy the file to the output directory
cp
"
$file
"
"
$OUTPUT_DIR
/"
...
...
This diff is collapsed.
Click to expand it.
error.log
0 → 100644
View file @
ea043682
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256718336-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256722432-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256738816-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256742912-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256783872-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256792064-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256808448-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256812544-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256824832-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256828928-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256833024-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256845312-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256878080-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256894464-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256923136-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256951808-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257074688-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257078784-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257107456-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257136128-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257152512-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257205760-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257213952-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257218048-4096.gwf: Checksum NOT OK
/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257238528-4096.gwf: Checksum NOT OK
This diff is collapsed.
Click to expand it.
output.json
0 → 100644
View file @
ea043682
{
"results"
:
[
{
"file"
:
"/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256689664-4096.gwf"
,
"checksum_status"
:
true
,
}
}
,
{
"file"
:
"/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256730624-4096.gwf"
,
"checksum_status"
:
true
,
}
}
,
{
"file"
:
"/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256747008-4096.gwf"
,
"checksum_status"
:
true
,
}
}
,
{
"file"
:
"/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256755200-4096.gwf"
,
"checksum_status"
:
true
,
}
}
,
{
"file"
:
"/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256779776-4096.gwf"
,
"checksum_status"
:
true
,
}
}
,
{
"file"
:
"/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256882176-4096.gwf"
,
"checksum_status"
:
true
,
}
}
,
{
"file"
:
"/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1256931328-4096.gwf"
,
"checksum_status"
:
true
,
}
}
,
{
"file"
:
"/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257172992-4096.gwf"
,
"checksum_status"
:
true
,
}
}
,
{
"file"
:
"/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257226240-4096.gwf"
,
"checksum_status"
:
true
,
}
}
,
{
"file"
:
"/home/harshad.sawant/1256194048/H-H1_GWOSC_O3b_4KHZ_R1-1257230336-4096.gwf"
,
"checksum_status"
:
true
,
}
}
]
}
This diff is collapsed.
Click to expand it.
settings.json
View file @
ea043682
...
...
@@ -4,8 +4,8 @@
],
"settings"
:
{
"output_directory"
:
"/home/harshad.sawant/"
,
"output_json_file"
:
"/home/harshad.sawant/output.json"
,
"error_log_file"
:
"/home/harshad.sawant/error.log"
,
"output_json_file"
:
"/home/harshad.sawant/
gwf_file_checker/
output.json"
,
"error_log_file"
:
"/home/harshad.sawant/
gwf_file_checker/
error.log"
,
"verbose"
:
true
,
"runs_per_file"
:
1
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help