forked from IguanAI/adic-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathverify_install.sh
More file actions
executable file
Β·37 lines (29 loc) Β· 986 Bytes
/
verify_install.sh
File metadata and controls
executable file
Β·37 lines (29 loc) Β· 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
set -e
echo "π Verifying ADIC installation..."
echo ""
echo "Step 1: Building release binary..."
cargo build --release
echo "β
Build successful"
echo ""
echo "Step 2: Testing CLI help..."
./target/release/adic --help > /dev/null
echo "β
CLI help works"
echo ""
echo "Step 3: Testing keygen..."
./target/release/adic keygen --output /tmp/test_adic.key > /dev/null
echo "β
Keygen works"
echo ""
echo "Step 4: Testing init command..."
./target/release/adic init --params v1 > /dev/null
echo "β
Init works"
echo ""
echo "Step 5: Running test command..."
./target/release/adic test --count 2
echo "β
Test works"
echo ""
# Cleanup
rm -f /tmp/test_adic.key
echo "ββββββββββββββββββββββββββββββββββββββββ"
echo "β
Installation verified successfully!"
echo "ββββββββββββββββββββββββββββββββββββββββ"