mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-22 14:13:04 +00:00
btrfs-progs: tests: add helper to print skipped operations
For workarounds or known missing support add helper to print a notification about that, when _not_run is not suitable. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
9f5df56f73
commit
cd905192b5
@ -64,6 +64,13 @@ _log_stdout()
|
||||
tee -a "$RESULTS"
|
||||
}
|
||||
|
||||
# print a message to stdout and to log that something was skipped
|
||||
_log_skipped()
|
||||
{
|
||||
echo " [SKIPPED] $*" | tee -a "$RESULTS"
|
||||
exit 0
|
||||
}
|
||||
|
||||
_not_run()
|
||||
{
|
||||
echo " [NOTRUN] $*"
|
||||
|
Loading…
Reference in New Issue
Block a user