diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pkg-fetch.testscript | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/pkg-fetch.testscript b/tests/pkg-fetch.testscript index 7d32523..5046c5d 100644 --- a/tests/pkg-fetch.testscript +++ b/tests/pkg-fetch.testscript @@ -160,7 +160,14 @@ $* libfoo/1.0.0 2>>/EOE != 0 $* -e $src/t1/libfoo-1.0.0.tar.gz 2>'using libfoo/1.0.0 (external)'; $pkg_status libfoo/1.0.0 1>'libfoo fetched 1.0.0'; - $pkg_purge libfoo 2>'purged libfoo/1.0.0' + $* libfoo/1.1.0 2>'fetched libfoo/1.1.0'; + $pkg_unpack libfoo 2>'unpacked libfoo/1.1.0'; + test -d cfg/libfoo-1.1.0; + $* libfoo/1.1.0 2>'fetched libfoo/1.1.0'; + test -d cfg/libfoo-1.1.0 == 1; + $pkg_status libfoo/1.1.0 1>'libfoo fetched 1.1.0'; + + $pkg_purge libfoo 2>'purged libfoo/1.1.0' } : purge-existing |