mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
c432589da3
Mostly scripted like all the others, manually added tags to Makefile, nsexec.c and t_mmap_writev.c. Manually touched up open_by_handle.c and t_encrypted_d_revalidate.c post script. Notes for future reference: - src/log-writes/ code has no explicit copyright or license tags, nor does the upstream repository, hence license is unknown. Need Josef to clarify the license and send a patch adding SPDX tags to those files. - src/perf code has no explicit copyright or license tags, but it was code submitted explictly for fstests so it is assumed to be GPLv2.0 and tagged as such. If this is incorrect, Josef will need to clarify copyright and the license and send patches to correct it. Signed-off-by: Dave Chinner <dchinner@redhat.com>
31 lines
430 B
Bash
Executable File
31 lines
430 B
Bash
Executable File
#!/bin/bash
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (c) 2017, Jeff Layton <jlayton@redhat.com>
|
|
|
|
. ./common/config
|
|
. ./common/dmerror
|
|
|
|
_dmerror_setup
|
|
|
|
case $1 in
|
|
cleanup)
|
|
_dmerror_cleanup
|
|
;;
|
|
init)
|
|
_dmerror_init
|
|
;;
|
|
load_error_table)
|
|
_dmerror_load_error_table
|
|
;;
|
|
load_working_table)
|
|
_dmerror_load_working_table
|
|
;;
|
|
*)
|
|
echo "Usage: $0 {init|cleanup|load_error_table|load_working_table}"
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
status=0
|
|
exit
|