btrfs-progs: tests: 001-simple-unmounted: fix test failure due to bashism
commit82aaf603e0e3e2d4302616c0b5c6e45246deca71
authorLuis Henriques <henrix@camandro.org>
Fri, 24 Jun 2016 23:47:29 +0000 (25 00:47 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Jul 2016 11:37:24 +0000 (4 13:37 +0200)
tree2e4cdad1210a6b9558d88e6a01e35406bc40faa8
parent40650bf1694bbc833a40afa239a81627ef4fb5c6
btrfs-progs: tests: 001-simple-unmounted: fix test failure due to bashism

The usage of 'source' is a bashism, and '.' should be used instead.  This
is causing fuzz-tests/001-simple-unmounted to fail in systems where
/bin/sh isn't bash:

    [TEST/fuzz]   001-simple-unmounted
./test.sh: 5: ./test.sh: source: not found
./test.sh: 7: ./test.sh: setup_root_helper: not found
./test.sh: 8: ./test.sh: check_prereq: not found
./test.sh: 18: ./test.sh: check_all_images: not found

Since most (all?) tests actually use /bin/bash, change this test to use
bash too.

Signed-off-by: Luis Henriques <henrix@camandro.org>
Signed-off-by: David Sterba <dsterba@suse.com>
tests/fuzz-tests/001-simple-unmounted/test.sh