Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
scdaq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scouting-demonstrator
scdaq
Commits
f938ee7f
Commit
f938ee7f
authored
7 months ago
by
Giovanna Lazzari Miotto
Browse files
Options
Downloads
Patches
Plain Diff
automate writing and comparison
parent
3fa3330c
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#8029091
failed
7 months ago
Stage: check
Stage: build
Stage: run
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/testing_scripts/famfs_write.sh
+21
-0
21 additions, 0 deletions
test/testing_scripts/famfs_write.sh
with
21 additions
and
0 deletions
test/testing_scripts/famfs_write.sh
0 → 100644
+
21
−
0
View file @
f938ee7f
sudo rm
/home/glazzari/random_baseline
sudo rm
/mnt/famfs/cat
*
sudo
g++ creat_test.cpp
-o
test
alloc_size
=
4096
file_size
=
400
echo
"Allocating..."
sudo
../../../famfs/debug/famfs creat
-s
${
alloc_size
}
/mnt/famfs/catty_write
sudo
../../../famfs/debug/famfs creat
-s
${
alloc_size
}
/mnt/famfs/catty_fwrite
sudo
../../../famfs/debug/famfs creat
-s
${
alloc_size
}
/mnt/famfs/catty_mmap
echo
"Writing..."
sudo
./test /mnt/famfs/ catty
${
file_size
}
echo
"Reporting diffs to baseline..."
sudo
diff
--report-identical-files
/home/glazzari/random_baseline /mnt/famfs/catty_write
sudo
diff
--report-identical-files
/home/glazzari/random_baseline /mnt/famfs/catty_fwrite
sudo
diff
--report-identical-files
/home/glazzari/random_baseline /mnt/famfs/catty_mmap
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment