/usr/src/blcr-0.8.2/tests/save_share.sh is in blcr-dkms 0.8.2-15ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/bin/sh
set -e
. ${cr_testsdir:-`dirname $0`}/shellinit
context=Context1
#
cp -f ${cr_testsdir}/save_aux tstexe
trap "\rm -f $context tstexe tstmap[12] 2>/dev/null" 0
rm -f tstmap[12]
${cr_run} ./tstexe "--file $context --clobber --save-shared" S
# Unlink unlink mmap()ed file
rm -f tstmap[12]
${cr_restart} $context
|