mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic/131: Create server.out manually.
When test generic/131 on nfs, the 'server.out' maybe create later than expect. Because the server is running on background, we should ensure the 'server.out' is exist before 'cat' it. So, let's create the server.out manually. Signed-off-by: ZhangXiaoxu <zhangxiaoxu5@huawei.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
86ce63ac21
commit
2caa208e3a
@@ -33,6 +33,9 @@ _require_test_fcntl_advisory_locks
|
||||
|
||||
TESTFILE=$TEST_DIR/lock_file
|
||||
|
||||
rm -f $TEST_DIR/server.out
|
||||
touch $TEST_DIR/server.out
|
||||
|
||||
# Start the server
|
||||
src/locktest $TESTFILE 2>&1 > $TEST_DIR/server.out &
|
||||
locktest_pid1=$!
|
||||
|
||||
Reference in New Issue
Block a user