Make this test setup a multi-line command so that it passes on Linux and is skipped on other OSes.
This commit is contained in:
parent
301f487b68
commit
af506c818f
1 changed files with 4 additions and 4 deletions
|
|
@ -1,10 +1,10 @@
|
|||
Setup:
|
||||
|
||||
$ . $TESTDIR/setup.sh
|
||||
$ if [ ! -e "/dev/shm" ]; then
|
||||
$ echo "No /dev/shm. Skipping test."
|
||||
$ exit 80
|
||||
$ fi
|
||||
> if [ ! -e "/dev/shm" ]; then
|
||||
> echo "No /dev/shm. Skipping test."
|
||||
> exit 80
|
||||
> fi
|
||||
$ TEST_TMPDIR=`mktemp -d --tmpdir=/dev/shm ag_test.XXX`
|
||||
$ echo "blah" > $TEST_TMPDIR/blah.txt
|
||||
$ ln -s $TEST_TMPDIR other_device
|
||||
|
|
|
|||
Loading…
Reference in a new issue