We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pkg delete -a
1 parent 062daaa commit 899a0b5Copy full SHA for 899a0b5
tests/frontend/delete.sh
@@ -3,10 +3,23 @@
3
. $(atf_get_srcdir)/test_environment.sh
4
5
tests_init \
6
+ delete_all \
7
delete_with_directory_owned \
8
simple_delete \
9
simple_delete_prefix_ending_with_slash
10
11
+delete_all_body() {
12
+ atf_check -s exit:0 ${RESOURCEDIR}/test_subr.sh new_pkg "foo" "foo" "1"
13
+ atf_check -s exit:0 ${RESOURCEDIR}/test_subr.sh new_pkg "pkg" "pkg" "1"
14
+ atf_check -s exit:0 ${RESOURCEDIR}/test_subr.sh new_pkg "test" "test" "1"
15
+
16
+ atf_check -o ignore pkg register -M foo.ucl
17
+ atf_check -o ignore pkg register -M pkg.ucl
18
+ atf_check -o ignore pkg register -M test.ucl
19
20
+ atf_check -o ignore pkg delete -ay
21
+}
22
23
simple_delete_body() {
24
touch file1
25
mkdir dir
0 commit comments