/usr/src/blcr-0.8.5/tests/save_exe.sh is in blcr-dkms 0.8.5-2.1.
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 2>/dev/null" 0
${cr_run} ./tstexe "--file $context --clobber --save-exe"
# Unlink and overwrite exec
rm -f tstexe
cp /dev/null tstexe
${cr_restart} $context
|