"Fossies" - the Fresh Open Source Software Archive

Member "bonnie++-2.00a/debian/tests/smoke" (30 Jun 2016, 201 Bytes) of package /linux/privat/bonnie++-2.00a.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 
    3 set -e
    4 
    5 tmpdir="$(mktemp -d)"
    6 trap "rm -rf $tmpdir" 0 INT QUIT ABRT PIPE TERM
    7 
    8 # A minimalist bonnie++ run
    9 /usr/sbin/bonnie++ -q -u $(id -u) -d "$tmpdir" -s 0 -n 1 > /dev/null; then
   10 exit $?