t_mtree.sh (272458) | t_mtree.sh (273928) |
---|---|
1# $NetBSD: t_mtree.sh,v 1.6 2013/02/05 16:49:42 christos Exp $ 2# 3# Copyright (c) 2009, 2012 The NetBSD Foundation, Inc. 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 270 unchanged lines hidden (view full) --- 279atf_test_case netbs6_ignore 280ignore_head() 281{ 282 atf_set "descr" "Test that -d ignores symlinks (PR bin/41061)" 283} 284 285ignore_body() 286{ | 1# $NetBSD: t_mtree.sh,v 1.6 2013/02/05 16:49:42 christos Exp $ 2# 3# Copyright (c) 2009, 2012 The NetBSD Foundation, Inc. 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 270 unchanged lines hidden (view full) --- 279atf_test_case netbs6_ignore 280ignore_head() 281{ 282 atf_set "descr" "Test that -d ignores symlinks (PR bin/41061)" 283} 284 285ignore_body() 286{ |
287 # Kyua 0.11 and above point TMPDIR to our work directory and atf-check 288 # generates a temporary file, which confuses mtree. Put the mtree files 289 # into a subdirectory. 290 # 291 # See https://github.com/jmmv/kyua/issues/133 for details. 292 mkdir root && cd root 293 |
|
287 mkdir newdir 288 mtree -F ${FLAVOR} -c | mtree -F ${FLAVOR} -Ck uid,gid,mode > mtree.spec 289 ln -s newdir otherdir 290 291 # This yields "extra: otherdir" even with -d. 292 # (PR bin/41061) 293 atf_check -s ignore -o empty -e empty -x "mtree -F ${FLAVOR} -d < mtree.spec" 294 --- 13 unchanged lines hidden (view full) --- 308} 309 310mtree_ignore_body() 311{ 312 FLAVOR=mtree ignore_body 313} 314netbsd6_ignore_body() 315{ | 294 mkdir newdir 295 mtree -F ${FLAVOR} -c | mtree -F ${FLAVOR} -Ck uid,gid,mode > mtree.spec 296 ln -s newdir otherdir 297 298 # This yields "extra: otherdir" even with -d. 299 # (PR bin/41061) 300 atf_check -s ignore -o empty -e empty -x "mtree -F ${FLAVOR} -d < mtree.spec" 301 --- 13 unchanged lines hidden (view full) --- 315} 316 317mtree_ignore_body() 318{ 319 FLAVOR=mtree ignore_body 320} 321netbsd6_ignore_body() 322{ |
323 # Kyua 0.11 and above point TMPDIR to our work directory and atf-check 324 # generates a temporary file, which confuses mtree. Put the mtree files 325 # into a subdirectory. 326 # 327 # See https://github.com/jmmv/kyua/issues/133 for details. 328 mkdir root && cd root 329 |
|
316 FLAVOR=netbsd6 ignore_body 317} 318 319 320atf_test_case mtree_merge 321atf_test_case netbsd6_merge 322merge_head() 323{ --- 99 unchanged lines hidden --- | 330 FLAVOR=netbsd6 ignore_body 331} 332 333 334atf_test_case mtree_merge 335atf_test_case netbsd6_merge 336merge_head() 337{ --- 99 unchanged lines hidden --- |