X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=tests%2Ftest-imagex-update_and_extract;h=b3c76bd7fdf1958744b978b02baeb11b1772c849;hp=c5e25c7cb968d2675e0c5cde821114c910cd8a65;hb=c604acfda391af68781f9ef1cee1f1ab7aac68e1;hpb=8bcb4fa27679c963a7a049f187a46defb649a889 diff --git a/tests/test-imagex-update_and_extract b/tests/test-imagex-update_and_extract index c5e25c7c..b3c76bd7 100755 --- a/tests/test-imagex-update_and_extract +++ b/tests/test-imagex-update_and_extract @@ -223,12 +223,21 @@ imagex extract test.wim 1 @pathlist --dest-dir=out.dir ../tree-cmp hello2 out.dir/hello2 [ ! -e out.dir/otherfile ] -msg "Testing path list extract (no match w/ strict; error expected)" cat > pathlist << EOF hello* EOF rm -rf out.dir -! imagex extract test.wim 1 @pathlist --dest-dir=out.dir --no-wildcards --strict-wildcards +msg "Testing path list extract (no wildcard, no match; error expected)" +! imagex extract test.wim 1 @pathlist --dest-dir=out.dir --no-wildcards + +cat > pathlist << EOF +foobar* +EOF +rm -rf out.dir +msg "Testing path list extract (wildcard, no match; error expected)" +! imagex extract test.wim 1 @pathlist --dest-dir=out.dir +msg "Testing path list extract (wildcard, no match, nullglob; no error expected)" +imagex extract test.wim 1 @pathlist --dest-dir=out.dir --nullglob msg "Testing path list extract (w/ wildcard)" cat > pathlist << EOF @@ -265,10 +274,10 @@ cat > pathlist << EOF hello1 EOF rm -rf out.dir -! WIMLIB_IMAGEX_IGNORE_CASE=0 imagex extract test.wim 1 @pathlist \ - --dest-dir=out.dir --strict-wildcards -WIMLIB_IMAGEX_IGNORE_CASE=1 imagex extract test.wim 1 @pathlist \ - --dest-dir=out.dir --strict-wildcards +! WIMLIB_IMAGEX_IGNORE_CASE=0 imagex extract test.wim 1 @pathlist --dest-dir=out.dir +! WIMLIB_IMAGEX_IGNORE_CASE=0 imagex extract test.wim 1 @pathlist --dest-dir=out.dir --no-wildcards +WIMLIB_IMAGEX_IGNORE_CASE=1 imagex extract test.wim 1 @pathlist --dest-dir=out.dir +WIMLIB_IMAGEX_IGNORE_CASE=1 imagex extract test.wim 1 @pathlist --dest-dir=out.dir --no-wildcards ../tree-cmp hello1 out.dir/HELLO1 [ ! -e out.dir/topdir/hello1 ]